## Final Codes for this problems please

Could you please post the final codes for this problem? Thank you very much! Please post java codes. The example has C#, but I am interesting in Java. Thanks

public decimal ShelfPrice { get; set; }

public string Name { get; set; }  public bool IsImported { get { return Name.Contains("imported "); } }  public bool IsOf(ProductType productType) {     return productType_Identifiers.ContainsKey(productType) &&         productType_Identifiers[productType].Any(x => Name.Contains(x)); } 

## Is this homebrew “Cactus Grenade” cantrip balanced?

I am currently homebrewing a set of “brawler” races, modeled after the nonhumanoid characters in Brawl Stars. For one race, I’ve made a homebrew cantrip, Cactus Grenade. Is it balanced?

Cactus Grenade: Conjuratuon Cantrip. Casting Time: 1 Action, Range: 60 feet, Components: S, Duration: Instantaneous.
You throw a small cactus at a target within range. Make a ranged spell attack against the target. On a hit, the target takes 1d4 piercing damage. Whether you hit or not, the cactus explodes and anyone within 5 feet of the target (including the target itself) must succeed in a Dexterity saving throw or take 1d4 piercing damage.

## Cannot figure out how to save this field into database

Me da el siguiente error:

Cannot figure out how to save this field into database. You can consider adding a type converter for it.

Voy a la línea que me marca y tengo esto:

public Ingrediente ingredientesreceta; 

Ingrediente es una clase con sus atributos, y lo que quiero es que los ingredientes de la receta queden almacenados en un objecto de tipo Ingrediente, que ya lo tengo creado.

El código de esta clase es el siguiente:

package com.example.javie.myapplication.Entities;  import android.arch.persistence.room.ColumnInfo; import android.arch.persistence.room.Entity; import android.arch.persistence.room.PrimaryKey; import android.support.annotation.NonNull;  import java.util.List;  @Entity(tableName = "ingredientes") public class Ingrediente {     @PrimaryKey(autoGenerate = true)     @NonNull     private int idingrediente;     @ColumnInfo(name = "nombreingrediente")     private String nombreingrediente;       public Ingrediente(String nombreingrediente) {         this.nombreingrediente = nombreingrediente;     }      public int getIdingrediente() {         return idingrediente;     }      public void setIdingrediente(int idingrediente) {         this.idingrediente = idingrediente;     }      public String getNombreingrediente() {         return nombreingrediente;     }      public void setNombreingrediente(String nombreingrediente) {         this.nombreingrediente = nombreingrediente;     }  }   } 

Estoy utilizando la librería Room y me salta el Error del título. Perdón si existen errores en cuando a la subida de artículos, es mi segundo post en este foro. Gracias.

## What is this and what is the purpose of it?

I saw this one in my rent a car but I am not too sure the purpose of it as no heat is going out of it? Is it just decoration?

## Find the general solution for this equation sin5θcos3θ = sin6θcos2θ.

I have tried to solve it but my is wrong. I did the following-  using 2cosBsinA = Sin(a+b) + Sin (a-b)// 2sin5\thetacos3theta = 2sin6\thetacos2\theta// Sin 8\theta+ Sin 2\theta = sin8\theta+sin4\theta// Sin2\theta – sin4\theta = 0// Sin2\theta – 2sin2\thetacos2\theta=0// Case 1-// Sin2\theta=0// Sin2\theta=sin0//

\therefore \theta = nπ // Case 2-// 2cos2\theta =1 // Cos2\theta=\frac{1}{2}// \therefore \ theta = nπ \pm \FRAC{π}{6}// 

## is this possible to call a bootstrap popup modal from client side?

I was working on a Django project where the user has few roles. Role one user can post some information. By checking his role in frontend if a user is role one user then the system will show him this type of bootstrap popup model.

And if he is not a role one user he will view this type of popup by clicking on the post button

Now my question Is this possible to call a bootstrap popup modal from a client-side browser or other because I’m not checking info backend. if this is possible to call a bootstrap popup modal from client side my full system will compromise because anyone can post anything.

## hostname showing in terminal To-be-filled-by-O-E-M. Is this a problem?

Does this matter or not? My motherboard is gigabyte. Thanks

## i am not able to get the correct output. Is there any error in this code. Please give me your answers

def sumOfDiv(x):

sum = 1 for i in range(2, x):      if x % i == 0:          sum += i  return sum 

# Check if pair is amicable

def isAmicable(a, b):
for i in range(a,b+1): if sumOfDiv(a) == b and sumOfDiv(b) == a:

     print(list(a,b))  else:   return "none" 

a=int(input(“enter the number:”)) b=int(input(“\nenter the number2:”)) isAmicable(a,b)

## Why is “Amazon” written with strange characters in this URL?

When I do a search on Amazon France, one of the URL parameters is “ÅMÅŽÕÑ”, as in the URL below:

https://www.amazon.fr/s/ref=nb_sb_noss/256-9830746-1362835?__mk_fr_FR=ÅMÅŽÕÑ&url=search-alias%3Daps&field-keywords=Webcam

Any idea why they have this strange parameter there?