blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b6836a475bc534da14ebb8d586a4caa4018c6c67 | 04e4dfecf86c47abbad9ad721bcbc552300a8834 | /prbs/controller/start.sce | 08438d540248ca409b3f0c9c9df4840ae5e3837a | [] | no_license | rupakrokade/scilab_local_codes | 702f741a5cadc6da56e428f7379971818238ff22 | 4de8383487def7f18a1f19906397ed4eaf42480e | refs/heads/master | 2021-01-19T06:58:47.689324 | 2015-10-24T11:55:34 | 2015-10-24T11:55:34 | 26,806,574 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | sce | start.sce | getd ../../common_files/
getd dc/scilab
exec ../../common_files/loader.sce
exec ser_init.sce
exec prbs_pp.sci
exec twodof_para.sce
xcos prbs_pp.xcos |
1e6719323269f6cda18d289babc367d8f5039063 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH4/EX4.4/4_4.sce | c6b717cbcf50201d06f466648d7f40551ac65701 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sce | 4_4.sce | //Find density of Copper
//Ex:4.4
clc;
clear;
close;
r=1.278;//radius of copper in angstorm
//copper has FCC structure
a=4*r/sqrt(2);//in angstorm
disp(a,"a (in Angstorm) = ");
a1=a*10^-8;//in cm
aw=63.54;//atomic weight of copper
ne=4;//fcc
na=6.023*10^23;//Avagadro's no.
p=aw*ne/(na*a1^3);//in g/cm^3
p1... |
82303295f5e0c8ead51a393274bf30481b2d00f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH20/EX20.8/20_8.sce | 1e600703590de5a12b727a3f094a6231028f6c58 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 753 | sce | 20_8.sce | clear//
//Variables
VS = 24.0 //Source voltage (in volts)
RS = 500.0 //Series resistance (in ohm)
VZ = 12.0 //Zener Voltage (in volts)
IZmin = 3.0 //Minimum Zener current (in milli-Ampere)
IZmax = 90.0 ... |
0d797a0aae52516545ff5719e2109cd2eb3d7e29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH13/EX13.4/13_4.sci | b3fed4ce4c6f168d6b9ff43affbc384077dbfd32 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | sci | 13_4.sci | clc();
clear;
//To determine the signal attenuationnper kilometer
pi=100; //mean optical power launched in micro meter
po=5; //mean optical power at fibre output
S=10*log10(pi/po); //signal attenuation un dB
l=6; ... |
5d982460ee563ab043eb7526df0dc4d118870691 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3888/CH4/EX4.3/Ex4_3.sce | 029f1c278ab71b451be24b8b8b824087a5674489 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,428 | sce | Ex4_3.sce | //Electric Power Generation, Transmission and Distribution by S.N.Singh
//Publisher:PHI Learning Private Limited
//Year: 2012 ; Edition - 2
//Example 4.3
//Scilab Version : 6.0.0 ; OS : Windows
clc;
clear;
peak_dem_light=200; //Peak demand of... |
e58ae7c6d9dd97e1fa9ca12cc1d321c3dd49e7a0 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/tdcs/obs_cont.sci | 498db57e97e4109d733d7ad61d9e9316ac443942 | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,094 | sci | obs_cont.sci | //[macr]=obs_cont(sysn)
//[macr]=obs_cont(sysn)
//
//cette macro renvoit le systeme observe-commande
//construit a partir du systeme sysn linearise autour de (xe,ue)
//
// sysn : chaine de caractere donnant le nom du systeme a commander
// gaincom,gainobs : vecteurs colonnes des gains demandes
//
// Retour : une nouvel... |
b9058bfdf94d0e07fdf49d5ef3d9c43eb5f237ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH5/EX5.27/27.sce | 463bd18bc2d431097eb511e4c03a7f7469900604 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | sce | 27.sce | clc
p1=7*10^5; //N/m^2
T1=873; //K
p2=1.05*10^5; //N/M62
n=1.25;
m=1; //kg
R=0.287;
cp=1.005;
T2=T1*(p2/p1)^((n-1)/n);
// At constant temperature from 1 to A
ds_1A=R*log(p1/p2);
// At constant pressure from A to 2
ds_2A=cp*log(T1/T2);
ds_12=ds_1A - ds_2A;
disp("Increase in entropy = ")
disp(ds_12... |
e642e4a7bd043672b9d0da593513db50b315153a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH8/EX8.4/8_4.sce | e1990333e6df71d3464c33988abe84c619cb5aa2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,141 | sce | 8_4.sce | clc
clear
//Input data
P1=10;//Pressure of steam in bar
f=0.9;//Dryness fraction of steam
At=350;//Throat area in mm^2
Pb=1.4;//Back pressure in bar
h1=2574.8;//Enthalpy of steam at nozzle inlet from steam tables in kJ/kg
ft=0.87;//Dryness fraction of steam at throat pressure
fe=0.81;//Dryness fraction of stea... |
e29bf11c234e577775131bd73bff0f0283c932fb | 9ad712cefe61d85b01d2448a5b74c34296ee7e5f | /LAB1.sce | f987acc16a18d93d103c8b70ff0065e7ffacfba9 | [] | no_license | CoE-Warintorn/Control | a50f7cf26d0e80e3b90ea9dc3cac097b67f94d49 | 9572040e0e41d8d355f51032cd2ac98b1d04db64 | refs/heads/master | 2020-03-16T06:56:11.148006 | 2018-05-08T07:02:35 | 2018-05-08T07:02:35 | 132,565,771 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 693 | sce | LAB1.sce | s = poly(0, 's');
t = 0:0.01:10;
Km = 10^-3;
Kb = 5.5*10^-2;
La = 10*10^-6;
Ra = 0.2;
Jm = 1*10^-3;
Dm = 1*10^-2;
//Gs = Km/((La*s + Ra)*(Jm*s^2 + Dm*s) + Km*Kb*s)
Gs = Km/((Ra)*(Jm*s^2 + Dm*s) + Km*Kb*s)
Gs1 = syslin('c', Gs);
Ts = Gs1/(1+Gs1);
den1 = denom(Ts);
routh_t(den1);
//plot(t,csim('step', t,... |
55a2de451dfba63490d085b61a59841b7e41f397 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH4/EX4.9/Ex4_9.sce | da60348d9c3cb44d49bb2004b6003d614d10534d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | Ex4_9.sce | clc
// initialization of variables
V1=2 // initial volume in m^3
V2=0.2 // final volume in m^3
T1=20+273// temperature in kelvin
P=200 // pressure in kPa
R=0.287 // constant for air
gama=1.4 // polytropic index for air
Cv=0.717// specific heat at constant volume for air
//solution
//using the ideal gas equa... |
33988a1650a09d900fe60974c5e80ccac53d8c75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH12/EX12.4/12ex4.sci | 8b834b24ad185aabee3e8a9e3a23949702007a33 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sci | 12ex4.sci | a=(8-4)-3
b=8-(4-3)
disp('since a and b are not equal so subtraction is non-commutative on Z(set of integers)')
a=[1 2;3 4]
b=[5 6;0 -2]
g= a*b
k= b*a
disp('since g and k are not equal matrix multiplication is non-commutative')
h=(2^2)^3
j=2^(2^3)
disp('since h and j are not equal so exponential operation... |
2e5da7a0e1d73da4b5ec7a3a958b68b00a6021c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2747/CH1/EX1.1/Ex1_1.sce | e0cf3f3b686815173ee2ea0e784b56d919d859ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | Ex1_1.sce | clc
clear
//Initialization of variables
gc=32.1739 //lbm ft/lbf s^2
m=10 //lbm
a=10 //ft/s^2
//calculations
F=m*a/gc
//results
printf("Force to accelerate = %.3f lbf",F)
|
2b50ccc6fcc6cda1a020a22d572efd78df9419bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH2/EX2.2/Ex2_2.sce | d686a93f7f6eb9e738b72534b1427854da2fa307 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | sce | Ex2_2.sce |
//Example No.2.2.
// Page No.60.
clc;clear;
w = 632.8*10^(-9);//wavelength -[m].
h = 6.626*10^(-34);//Planck's constant.
c = (3*10^(8));//Velocity of light.
E = ((h*c)/(w));// Energy of one photon
printf("\nThe energy of emitted photon in joules is %3.3e J",E);
E = E/(1.6*10^(-19));
printf("\nThe energy of e... |
f0b77dede391da08a0e48482bbd39376f9a846ee | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Viewfrom.sci | 44bde517afc579ce11f93026c55ca7df2dea5254 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sci | Viewfrom.sci | // 08.10.26
function Out=Viewfrom(varargin)
global THETA PHI
Nargs=length(varargin);
Nvec=varargin(1);
GL=varargin(2);
Flg=1;
if Nargs>=3
Flg=varargin(3);
end;
Theta=THETA; Phi=PHI;
Tmp=Rotate3data(GL,Nvec,[-1,0,0]);
THETA=%pi/2; PHI=0;
Out=Projpara(Tmp);
if Flg==1
Windisp(Out);
end;
... |
51cd7423740c6a031b45dee1e8cd213539fabdfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH23/EX23.01/23_01.sce | 0bf483fa0148f5158d881ece82c45bbdfbdcab05 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 449 | sce | 23_01.sce | //Problem 23.01: In an electrical circuit the total impedance ZT is given by ZT = (Z1*Z2/(Z1 + Z2))+ Z3. Determine ZT in (a + jb) form, correct to two decimal places, when Z1 = 5 - j3, Z2 = 4 - i7 and Z3 = 3.9 - i6.7.
//initializing the variables:
Z1 = 5 - 3*%i;
Z2 = 4 + 7*%i;
Z3 = 3.9 - 6.7*%i;
//calculati... |
5827ef8860c8e52ee5296a075aee20e472050f21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH7/EX7.28/ch7_ex_28.sce | 8d9b3185f768ab52e7bf38e9fed2c673d065b9a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,604 | sce | ch7_ex_28.sce | //CHAPTER 7- SINGLE PHASE TRANSFORMER
//Example 28
disp("CHAPTER 7");
disp("EXAMPLE 28");
//VARIABLE INITIALIZATION
va=10000; //apparent power
v1=2500; //primary voltage in Volts
v2=250; //secondary voltage in Volts
f=50;
//open ci... |
e2a04ad45efcb949e44535f2da8ca5048ab294e9 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH10/EX10.13/ques13.sce | 520cc283034c1dc18c15fbe289693ab794a2f026 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | ques13.sce | errcatch(-1,"stop");mode(2);//ques13
disp('The complex form of series is summation of f(n,x) where n varies from -%inf to %inf and f(n,x) is given by :');
syms n x
cn=1/2*integ(exp(-x)*exp(-%i*%pi*n*x),x,-1,1);
fnx=float(cn)*exp(%i*n*%pi*x);
disp(float(fnx));
exit();
|
bf43d7609eef92d92be69a518afe3b7d828d3fc4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH1/EX1.5.1/ex1_5_1.sce | df87ea9c0adec7d636af212b2bd338b7db9336e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 483 | sce | ex1_5_1.sce | //Chapter-1,Example1_5_1,pg 1-29
//refer diagram from textbook
//on joining centre of 3 anions,an equilateral triangle is formed and on joining centres of any anion and cation a right angle triangle ABC os formed
//where AC=rc+ra
//and BC=ra
//m(angle (ACB))=30 degree
//therefore cos (30)=ra/(rc+ra)
... |
0b72a37a363a8ac39603acfa050d78ea0a0ce5e7 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/gcc/testsuite/ada/acats/tests/cd/cd4041a.tst | d0e2fd65d6a2b193fb43209b4f21f06c848c1d1d | [
"Zlib",
"LicenseRef-scancode-public-domain",
"LGPL-2.1-only",
"FSFAP",
"LGPL-3.0-only",
"GPL-3.0-only",
"GPL-2.0-only",
"GCC-exception-3.1",
"LGPL-2.0-or-later"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | Scilab | false | false | 3,363 | tst | cd4041a.tst | -- CD4041A.TST
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
09652540233fd3700ee5ae71068967cd3bac5614 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH5/EX5.14/ex_5_14.sce | 2a70b2f0322e5d4723dba09e07721c7ea65aadcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | ex_5_14.sce | //Ex 5.14
clc;
clear;
close;
format('v',4);
R1=1;//kohm
R2=1;//kohm
R3=1;//kohm
Rf=R2+R3;//kohm
Vin=1;//V
//Capacitor remains open circuited for steady state in both cases.
Vout=-Rf/R1*Vin;//V
disp(Vout,"Output Voltage(V)");
|
b9ab10f40f8b50377fa38367c5c46d3a3ea80afb | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/mdaq_exec_profile.sci | 56bbe1b82fd584b25fcbeb3c902806edf930b2d2 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 370 | sci | mdaq_exec_profile.sci | function data = mdaq_exec_profile()
data = [];
if isfile(TMPDIR + filesep() + "profiling_data") then
load(TMPDIR + filesep() + "profiling_data");
data = dsp_exec_profile;
clear dsp_exec_profile;
else
disp("WARNING: Unable to get profiling data - make sure it is enabled in S... |
0fac87c1915b79001547f2265ae648654a6ff7d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3878/CH21/EX21.2/Ex21_2.sce | 67587f834a78520d05b43da51805d4e2e6b174cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | Ex21_2.sce | clear
// Variable declaration
Q=500// The amount of heat required for the building in kW
T=19// The temperature at which air enters the heater coil in °C
m_a=68// // The mass flow rate of air in kg/s
C_pa=1.02// The specific heat capacity of air in kJ/kg.K
// Calculation
t=T+(Q/(m_a*C_pa))// The air supply temperature... |
5d37c1d7a7a118a517440fb611079e8cdb50fc68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH6/EX6.8/example_6_8.sce | d951ece5a4524a7ac184749990cf4a00f0332758 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,916 | sce | example_6_8.sce | clear;
clc;
disp("--------------Example 6.8---------------")
n=4; // number of channels
channel_byte=1; // each frame carries 1 byte from each channel
frame_size=n*channel_byte; //bytes
frame_size_bits=frame_size*8; // 1 byte = 8 bits
byte_rate=100; // each channel sends 100 bytes/s
frame_rate=channel_byte*byte... |
c2ec84e16f3ff009c2ddfc557178d756a98e1ec3 | 48d313982e11468e3406524c01f1cba2700a2db5 | /Calcul numeric/ResurseTemaCalculNumeric/New folder/Mcmp/LevenbergMarquardt/f1.sce | 30d1325fc5bce19005b5ac17a41dc914ae585039 | [] | no_license | albanionut/University | b8e918a192c131647099c57e1b2caa231de98d6d | b3d3dfe3cf64d0cddfaeb570151adf7d4c9ad0b7 | refs/heads/master | 2021-07-13T11:31:29.880681 | 2020-10-10T15:07:00 | 2020-10-10T15:07:00 | 214,223,943 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 58 | sce | f1.sce | function y=f1(x,t)
y=x(1)*exp(x(2)*t);
endfunction
|
7a9a599d4cd6624e80adfa7d32bbb5099af5ee9d | 8ea401b354e99fe129b2961e8ee6f780dedb12bd | /macros/combine.sci | 52794630010715056b20142acff71a43497f6634 | [
"BSD-2-Clause"
] | permissive | adityadhinavahi/SciPandas | 91340ca30e7b4a0d76102a6622c97733a28923eb | b78b7571652acf527f877d9f1ce18115f327fa18 | refs/heads/master | 2022-12-20T04:04:35.984747 | 2020-08-19T16:10:51 | 2020-08-19T16:10:51 | 288,765,541 | 0 | 1 | null | 2020-08-19T15:35:04 | 2020-08-19T15:14:46 | Python | UTF-8 | Scilab | false | false | 797 | sci | combine.sci | function combine()
// Perform column-wise combine with another DataFrame.
//
// Syntax
// dfr.combine(obj,input_string)
//
// Parameters
// obj : DataFrame object
// input_string : String containing the function to be passed. Scilab functions are not supported as of now. Additional param... |
1d6fe4d54af9f60ed4dae8078981c43b5424d62b | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH12/EX12.05/12_05.sce | dba2676402bea1e854d9f14fe1bdc1f7dd3fff5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 894 | sce | 12_05.sce | //pathname=get_absolute_file_path('12.05.sce')
//filename=pathname+filesep()+'12.05-data.sci'
//exec(filename)
//Steam consumption rate(in kg/a):
m=18/60
//Indicated power(in kW):
IP=100
//Rpm of engine:
n=240
//Bore diameter(in m):
d=0.3
//Stroke length(in m):
L=0.4
//Pressure at which steam is admitted(i... |
6e54dbbde045cfd26782185b97a27cb6ff0fad2a | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/FURIA-C/results/FURIA-C.vowel-10-1tra/result4s0.tst | 100b05c06cd7ea6e5d352b9704f76e0aca4f8b75 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 983 | tst | result4s0.tst | @relation vowel
@attribute TT integer[0,1]
@attribute SpeakerNumber integer[0,14]
@attribute Sex integer[0,1]
@attribute F0 real[-5.211,-0.941]
@attribute F1 real[-1.274,5.074]
@attribute F2 real[-2.487,1.431]
@attribute F3 real[-1.409,2.377]
@attribute F4 real[-2.127,1.831]
@attribute F5 real[-0.836,2.327]
@attribute... |
1b585808baae60be7e55c651d8c51e16ca14acbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH6/EX6.10.5/exa6_10_5.sce | 34107206db6e4243a0599c78a6ecad88afb6a8e0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,015 | sce | exa6_10_5.sce | //Caption:calculate_Wn,zeta,Wd,tp,Mp
//example 6.10.5
//page 174
//given G(s)=20/(s+1)*(s+2)
clc;
s=%s;
G=syslin('c',[20/((s+1)*(s+5))])//G(s):transfer function in forward path
H=1;//backward path transfer function
a=G/.H //closed loop transfer function
b=denom(a)
c=coeff(b)
//Wn^2=c(1,1)
Wn=sqrt(c(1,1))//n... |
263508bb6926e89afef4d7fc408e1be3f3f3d2d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH14/EX14.7/Example14_7.sce | 2257ea51a4b5f76bb9ed9ea23f1aa0f1e7029e2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sce | Example14_7.sce | //Example 14.7. refer fig.14.6
clc
format(6)
RL=((40*2)/42)*10^3 //in ohm
disp(RL," R''L(ohm) = RB || RL =")
Av=(-80*1905)/5000
disp(Av," Av = -hfe*R''L / hie =")
format(9)
x1=(40000)/(1+30.48)
Rif=(x1*5000)/(x1+5000) //in ohm
disp(Rif," Rif(ohm) = hie || (RB / 1-Av) =")
format(6)
Avf=(-30.48*1013.172)/(... |
3cbbd7a8a717520a5bba27f4abba0be5726fbaf9 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Revisão P1/MetodoNewtonComErroRelativo.sce | cc0cb9be11408ec0d599596fa349e0e0340aea62 | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | MetodoNewtonComErroRelativo.sce | function [resultado] = erro_relativo(x, xl)
resultado = abs((x-xl)/x)
endfunction
//Método de Newton para f(x) = x - cos(x)
x = 0.7
xl = x
primeira = %T
while primeira | erro_relativo(x,xl) < 10^(-5)
if primeira then
primeira = %F
end
xl = x
x = x - (x - cos(x))/(1 + sin(x))
end
disp(... |
c386ee7bc11f9d1f1fb76b49633cb05bbdc6440e | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH6/EX6.8/6_8.sce | 0f44bec043805e156d8dcdcd85a0bc404216cb9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 426 | sce | 6_8.sce | //clc()
del = 0.01;
z = 0.56714329
x1 = 1;
//f(x) = exp(-x) - x
disp(x1,"x1 = ")
for i = 1:4
if i == 1 then
x(i) = 1
else
w = x(i-1);
m = exp(-x(i-1)) - x(i-1);
x(i-1) = x(i-1)*(1+del);
n = exp(-x(i-1)) - x(i-1);
x(i) = w - (x(i-1)- w) * m/(n-m);
... |
eec52c30e98e228b35188d52e29e8d42f56f7dc7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH1/EX1.17/EX1_17.sce | 806bf7ff61bca0917e05beb65dd4825c7b17e287 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,006 | sce | EX1_17.sce | //Example 1.17<i>
//Determine the power and the rms value of the signal
clc;
t=0:0.001:10;
y=5*cos(50*t+%pi/3);
P=(integrate('5^2*(cos(50*t))^2','t',0,2*%pi))/(2*%pi);
rmsvalue=sqrt(P);
disp(P,'The power of the given signal is:');
disp(rmsvalue,'the rms value is:');
//Example 1.17<ii>
//Determine the power am... |
ed97745c7768a0b91616bf154ab39c7f9e8d4ed1 | b5801afaa3964cbd7f9c1c8cf732cdcdb020e7fc | /Scilab6-Keras-Toolbox/keras_definitions.sce | 80503f0345188e2aa5ccbc04ef051e9ae9c4dcda | [
"BSD-3-Clause"
] | permissive | TanayKarve/scilab-keras-toolbox | e179b283102a580f2192d44c63dbc44a6fbaf03d | 48045cd955c821a00377f9719f21fe0f91148541 | refs/heads/master | 2022-12-03T09:22:16.551928 | 2020-08-23T13:26:21 | 2020-08-23T13:26:21 | 289,681,759 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,606 | sce | keras_definitions.sce | mode(-1);
function[]= ANN_train(layers,epochs,batchsize)
dataset = uigetfile(["*.csv"],"~", "Choose a dataset file", %t);
label = input("Enter label column:","string");
disp('Training...');
unix("python3.8 KerasANN.py "+dataset+" "+label+" "+layers+" "+string(epochs)+" "+string(batchsize))
en... |
1b3b971604e3ac26e8ffadf8a05409c561cdbb94 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /[Pressure] Longbow Highground.sce | ae9e36dbc2857f89333f8ad28bab099836b034c2 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109,352 | sce | [Pressure] Longbow Highground.sce | Name=[Pressure] Longbow Highground
PlayerCharacters=Counter-Striker
BotCharacters=Counter-Striker Bot PEEKER.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Counter-Striker
AddedBots=Counter-Striker Bot PEEKER.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=longbow.map
MapScale=3.0
BlockProjectileP... |
ae2948e975300bd874c31b14c7b3c49d8e1d3cca | fd6a414e5722e920e5ebe08c77fe0f70b29e77cf | /ComparingSTACF.sce | bfcc5bf5927cc1bcfcbff0b9f95a7147d12c1438 | [] | no_license | JBouis/AudioProcessing | e774bdfaf38207643d441f975a96773ae3cbbd24 | c9f81b8d5ce447b014707b309ef209530219adc0 | refs/heads/master | 2021-05-18T02:21:40.839402 | 2020-03-29T15:22:16 | 2020-03-29T15:22:16 | 251,063,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,145 | sce | ComparingSTACF.sce | // Program to fin short Time Autocorrelation Function
// Using Rectangular and Hamming window
clear,close,clear,
[y,Fs]=wavread('C:\Test_Project\a-team_my_way.wav');
beg= 5200; // Sample at which window is to be applied
N= 500; // Length of window in Sample
x=y(beg:beg+N-1); // Obtainin the required segme... |
ea9aa713d8d542b6542e21bbe74a195046a3989f | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronics_Engineering_Materials_J._B._Gupta_1730.zip/Electrical_And_Electronics_Engineering_Materials_J._B._Gupta_1730/CH4/EX4.2/Exa4_2.sce | 107fa9c68984cf510697934866010eccdf0887a0 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 231 | sce | Exa4_2.sce | errcatch(-1,"stop");mode(2);//Exa 4.2
;
;
//given data :
delVDS=1.5;//in Volt
delID=120;//in uAmpere
delID=delID*10^-6;//in Ampere
rd=delVDS/delID;//in Ohm
disp(rd*10^-3,"AC drain Resistance of JFET in Kohm : ");
exit();
|
c215f1dc4805a5675469babc43e537a071964021 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH2/EX2.5/example2_5.sce | badaddb891b62123bc47de70610dada271f73da0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 955 | sce | example2_5.sce | // Find depletion layer capacitance
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 2-5 in page 86
clear; clc; close;
// Given data
epsln=12/(36*%pi*10^11); // Constant for Si in F/cm
A=8.11058*10^-1; // Cross sectional area in m^2
mu_p=500; /... |
96b600b2f9c760ed47f777d97ba28e7d65b20985 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH19/EX19.21/Ex19_21.sce | b8bd2ee946076e2df50a4c6ffee85fa51846fe40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 740 | sce | Ex19_21.sce | clc
// Given that
m = 2.5 // Mass flow rate in kg/s
p1 = 1 // Inlet pressure in bar
T1 = 300 // Inlet temperature in bar
n_s = 0.88 // Stage efficiency
Wc = 600 // Power input in kW
delta_t = 21 // Temperature rise in first stage in degree centigrade
gama = 1.4 // Ratio of heat capacities
cp = 1.005 // Heat c... |
b6682f0f270a44129c05df6eabdaf2c9d1f9e4fa | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/TEC5.prev.tst | 5fa7eaecb00d61365ad2b948ab08ee8d1fe39aa4 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,401 | tst | TEC5.prev.tst | Expanding for base=2, level=7, reasons+features=base,similiar invall,norm
Refined variables=x,y
[0+1x,0+1y]: unknown -> [1] [0,0] x²-y³+2
---------------- level 0
expanding queue[0]^-1,meter=[2,2]: x²-y³+2
[1+2x,1+2y]: unknown -> [1] [1,1] 2x+2x²-3y-6y²-4y³+1
endexp[0]
---------------- level 1
expanding queue[1]^0,mete... |
e47bcb4d71176617286fd433cce069fd2112442c | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH11/EX11.3/3.sce | fef0b6a7e66389dc74ce0cbde342566f526ada2a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 526 | sce | 3.sce | clc; funcprot(0);
//Example 11.3 Lift at subsonic speed
// Initialisation of variables
alp_z = -4; //Angle of attack at zero lift
M16 = 0.16;
Cl = 0.3;
alp = 1.5;
M0 = 0;
M65 = 0.65;
alp25 = 2.5;
// Calculations
//At M = 1.6
DCl_by_Dalp16 = Cl/(alp-alp_z);
//At M = 0
DCl_by_Dalp0 = D... |
17647f053d4efafeafca59d35ec3669333415fb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH8/EX8.1/Ex8_1.sce | a5348329a337a2a9c70e603d122545d2983e0d91 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,224 | sce | Ex8_1.sce | // Example no 8.1
// To compute the mean square error distortion and output signal-to-distortion ratio.
// Page no. 420
clc;
clear all;
//Given data
l1=1; // 1st Quantization level
l2=3; ... |
75d4b2337fef9dd457f4c233d3dd65d4b85b1688 | 5c0124a56cb43a2890e25fbc6e2556d25ff9c4bb | /Exercise_17.sce | b7103de1269bacfa0dce941a4b7b54203f65dae9 | [] | no_license | wiiwins/Risk-Management | d970aaa2c44409f9c73fd44b8bcfbb25e3e83c3e | 46c547e9d14019dde274f232fc6354641de245ff | refs/heads/master | 2020-09-01T17:12:36.665964 | 2019-11-26T21:00:32 | 2019-11-26T21:00:32 | 219,013,277 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,576 | sce | Exercise_17.sce | // C-Exercise 17
// Jurian Kahl
// Nattawut Phanrattinon
// download distfun package
atomsInstall("distfun");
// Part a)
// Hill estimator function
function alpha = Hill_Estimator(x, k)
y = gsort(x);
alpha = k/sum( log(y(1:(k-1))) - log(y(k)));
endfunction
// Part b)
// Hill plot function
function Hill_Plot(... |
2fe1193d8f27a7dcc46875cc67dcc35334f30d29 | 61129043aed87983b640a33b1c260316043fa570 | /logger/configure.sci | dc14a7e643186bc4f08e91d12582046fe76fb9d1 | [] | no_license | dgerod/gfx4scilab | 7643dbb42fcbea772af12017dccf484544da6f79 | 4aafc59f241a9383de65e4fb25eefef80660bf64 | refs/heads/master | 2021-01-19T03:35:08.368764 | 2017-04-08T06:05:33 | 2017-04-08T06:05:33 | 61,438,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | sci | configure.sci | // =============================================================================
// gfx4scilab - drawing
// dgerod@xyz-lab.org.es
// =============================================================================
function lg_enable(isOn)
global logCfg;
if isOn == %t then
logCfg.enabled = %t;
else... |
b6edd56e6cc2e4af1e52fbf7ea1e9547364c8545 | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH9/EX9.2/9_2.sce | b2eea8c17c80d4cb49ff81bab249c5837a8b9f67 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 302 | sce | 9_2.sce | clc;
clear;
format('e',11);
v=4*10^4;
e=-1.6*10^-19;
Me=9.1*10^-31; //Me=mass of electron.
B=0.4*10^-4;
Wc=-e*B/Me; //Wc=angular frequency.
f=Wc/(2*3.14);
R=v/Wc;
disp(f,"The frequency of the electron(in Hz)=");
disp(R,"The redius of the circle,R(in meter)=");
|
db6a7b137f5c9d59ba4654eccd6468719d806613 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set8/s_Engineering_Economics_H._Agarwal_1208.zip/Engineering_Economics_H._Agarwal_1208/CH2/EX2.1/Exa1.sce | 1a6828a777e769b4eef53d58b0a40303951dfbf6 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | Exa1.sce | errcatch(-1,"stop");mode(2);//Exa1
;
;
//given data is :
P=10000;//in rupees
n=3;//in years
r=10;//% per annum
A=P*(1+r/100)^n;
CI=A-P;//in rupees
disp("Compound interest is : "+string(CI)+" Rupees.")
exit();
|
7df483b5798e8194e7087b2414b1d98843b8e5a6 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/PulseWaveSolver/Tests/55_Artery_Network.tst | 90130c6e1ced2d43f458753d3f3634d615f376ae | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 700 | tst | 55_Artery_Network.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>55 Artery Network, P=5</description>
<executable>PulseWaveSolver</executable>
<parameters>55_Artery_Network.xml</parameters>
<files>
<file description="Session File">55_Artery_Network.xml</file>
</files>
<metrics>
<metric... |
8f803344e83c0c9403cbeb6f3a12c2b3287cd939 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH2/EX2.7/ex2_7.sce | fd2edccef38674c38c3fa2a73303d08282881498 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | ex2_7.sce |
//Exa:2.7
clc;
clear;
close;
//Given:
m1=0.55;//modulation percent 1
m2=0.65;//modulation percent 2
Pc=360;// in watts
mt=sqrt(m1*m1+m2*m2);
printf("\n\n\t total modulation = %f ",mt);
Pb=(mt*mt)*Pc/2;
printf("\n\n\t total sideband power radiated = %f W",Pb); |
0445560bac51fffa96c5d6547eae9c90e53457a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH12/EX12.27/example12_27.sce | b609a447aedeca61fd394d6eb1a1e6b4190c35eb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | example12_27.sce | clc
// Given that
m1 = 4.00260 // mass of He(4) in a.m.u.
m2 = 0.00055 // mass of electron in a.m.u.
m3 = 12 // mass of C(12) in a.m.u.
// Sample Problem 27 on page no. 12.40
printf("\n # PROBLEM 27 # \n")
printf(" Standard formula used \n")
printf(" del_E = del_m * c^2 \n")
delta_m = 3 * m1 - m3
E = delta_m * 931
pri... |
3a074bda2551099e9b7043205de4246a014165ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH5/EX5.8/5_8.sce | 8fdf9eb10bcff7c305999b2084c67ee0983a861c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sce | 5_8.sce | clc
//initialisation of variables
logh= 0.1761
logk= -0.415
logv= 0.3010
//CALCULATIONS
n= (logh-logk)/logv
//RESULTS
printf ('n = %.2f ',n)
|
ed2fc924c3ed160e2857bc7a4d6678b55d767b2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH10/EX10.15/ex_10_15.sce | 79776e7fcc0afbef8ed6b47f52663e712ad26822 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 727 | sce | ex_10_15.sce |
clc
//solution
//given
//ref fig 10.32 and 33
s=6//mm
P=20*10^3//N
l=40//mm
b=90//mm
//let t throat thickness
//let x is distance of Cg from left edge
x=l^2/(2*l+b)//mm
//J=t*[(b+2*l)^3/12-(l^2*(b+l)^2/(b*2*l))]
J=0.707*s*[{(b+2*l)^3/12}-{(l^2*(b+l)^2)/(b+2*l)}]//mm^4
printf("the value of J is,%f mm^4\n",J)
Bg=40
e=20... |
8715eb8167a248b6b2fc433d73b33eb0709e9839 | 05db16b4f57b0182fa452e2c11554c3de6fff271 | /branches/vac4.52_sac_cuda/dev/vac4.52mkg_24_06_2010/scilab/sci_studyfile.sci | 62839dff635f4a1736caf1360445452434ccb10c | [] | no_license | SpungMan/smaug-all | 09b4fcf6fcec2fc7be1fa85c5c7f2d68c79e504b | 01df12e98c734529ff984662badc26eaa3a9138b | refs/heads/master | 2021-11-29T14:09:47.094457 | 2018-06-08T09:48:05 | 2018-06-08T09:48:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 571 | sci | sci_studyfile.sci | function [tree] = sci_studyfile(tree)
// Copyright INRIA (Generated by M2SCI)
// Conversion function for Matlab studyfile()
// Input: tree = Matlab funcall tree
// Ouput: tree = Scilab equivalent for tree
// dims(i,:) is the ith output argument dimensions vector
dims=list(list(1,-1),list(1,-1),list(1,-1),list(1,1))
//... |
36990e4107f4c4cc7b4bac2cc4480f73d7f34d82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH6/EX6.5/6_5.sce | 221b34fef2a0f8eb9f1560a18d80d982782f730b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,190 | sce | 6_5.sce | //To find the pu voltages and tolerable and favourable voltages
//Page 310
clc;
clear;
N=19; //Number Transformers
St=500; //Load on each transformer in kVA
L=5096+(%i*3158); //Load
Vlf=114; //Favourable Voltage
Vlt=111; //Tolerable Volatage
Vb=125; //Base Voltage
//Per Unit Tolerable and favourable volta... |
3cb28c0c49a14a132baef7ce2ab43d568468b3bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH4/EX4.14/Example4_14.sce | e7cf930e7fd2cc17484402df6502eec27e7c5de4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | Example4_14.sce | //Example 4.14.
clc
disp("R = 6 k-ohm, C = 1500 pF, R_C = 18 k-ohm")
k=18/6
disp(k,"Now K = R_C / R =")
disp("Therefore, f = 1 / 2*pi*R*C*sqrt(6+4K)")
f=(1/(2*%pi*(6*10^3)*(1500*10^-12)*sqrt(6+12)))*10^-3 // in kHZ
format(6)
disp(f," f(in kHz) =")
hfe=(4*3)+23+(29/3)
disp(hfe," (h_fe)min = 4K + 23 + ... |
fdb402a2b41884fca35a11c942703b4f2abd308a | 009e6209a86f0838f0faca8a33b2c162e5d1a7a6 | /src/scripts/interpolacionLagrange.sce | c5cc2d5f51914f1a7e1822ee0ebf1df973b962c1 | [] | no_license | MoisesU/MESO-MetodosNumericos | 90a62a31e3213c50dec55228ceca7ce034cfbb7c | 17fe0efa1690ac93f36799a12a9f9c99f1ab94a4 | refs/heads/main | 2023-06-02T05:51:03.641326 | 2021-06-20T03:18:17 | 2021-06-20T03:18:17 | 306,203,044 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 912 | sce | interpolacionLagrange.sce | //Rodríguez Montiel Moisés Ulises
//2NM51
function y = interpolLagrange(funcTab, grado, x)
y = 0
[n, m] = size(funcTab)
if(n <> 2)
error("No es una función tabular")
end
if ~(isreal(funcTab))
error('Elementos no numericos o complejos en el arreglo.');
end
grado = round(grado);
... |
96ef7011c21b2451f7aae90539bfa087322481d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH2/EX2.7.3.a/ex_2_7_3_a.sce | f34fa64c6844a089a7a5da09514ba8ed9af5b210 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | ex_2_7_3_a.sce | //Example 2.7.3.a: Arithmetic mean
clc;
clear;
close;
//given data :
X1=147.2;// in nF
X2=147.4;// in nF
X3=147.9;// in nF
X4=148.1;// in nF
X5=148.1;// in nF
X6=147.5;// in nF
X7=147.6;// in nF
X8=147.4;// in nF
X9=147.6;// in nF
X10=147.5;// in nF
AM=(X1+X2+X3+X4+X5+X6+X7+X8+X9+X10)/10;
disp(AM,"Arithmetic mean,AM(nF... |
07c71717d43644c4d14eeb135ce3a666921b70af | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH5/EX5.12/Ex5_12.sce | f8f2e063b4a0213ed71283380157e4994b3d8534 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 438 | sce | Ex5_12.sce | //Ex 5.12
clc;clear;close;
format('v',4);
tau=1;//ms
//R1/R2=1.8:9;given range
//Let R1/R2=1.8
R1BYR2=1.8;//ratio
Beta1=1/(R1BYR2+1);
R1BYR2=9;//ratio
Beta2=1/(R1BYR2+1);//unitless
Beta=Beta1:Beta2;//Range of Beta
//For fmin
Tmax=2*log((1+Beta1)/(1-Beta1));//ms
fmin=1000/Tmax;//Hz
//For fmax
Tmin=2*log((... |
0106f0ca263f86c79046f11f0b304310b58fd613 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH3/EX3.4/EX3_4.sce | 1fee5f2253ecd0f41dca0cfdeef678bef85ce971 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,176 | sce | EX3_4.sce | // Example 3.4
// Determine (a) Circulating current in the paralleled secondaries
// (b) Circulating current as a percent of the rated current of transformer A
// (c) Percent difference in secondary voltage that caused the circulating current
// Page No. 104
clc;
clear;
close;
// Given data
S=100000; ... |
6dfcfed440aa82d928ffccf9dabbb4bb96b48e2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH12/EX12.4/Ex12_4.sce | 31a3b04c6b69257628e1c09314ef3031b6353e14 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,255 | sce | Ex12_4.sce | // Given:-
y1 = 0.8 // mole fraction of CO2
y2 = 0.2 // mole fraction of O2
T1 = 700.0 // in kelvin
p1 = 5.0 ... |
1dc6a42f82b40beb637bebcdac8b3fda293801f8 | 300d1796ae548c978afd104ee7047662b7c75583 | /Test2.tst | d927fd404c5f28c3ab834e1f3d0e7c9b1da0d471 | [] | no_license | madhavsrms/microservicesedu | 3b95bd63aadbcb6a5ad97cda26d9def6b36ff46e | bb8d6ee272fcf2c2d593748ef7eb385155063500 | refs/heads/master | 2023-07-20T19:57:21.121744 | 2021-08-20T05:09:22 | 2021-08-20T05:09:22 | 264,374,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 46 | tst | Test2.tst | hi this is tst file i want to create and push
|
24da3377e834a1584042db87dae92d0a14c6ffe5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH4/EX4.3/EX4_3.sce | 7669aef3939a6fce747d51807341726edfe6de59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,074 | sce | EX4_3.sce | // Example 4.3
// Determine (a) Synchronous speed (b) Slip (c) Rotor impedance (d) Rotor current
// (e) Rotor current if changing the shaft load resulted in 1.24 percenr slip
// (f) Speed for the condition in (e)
// Page No. 146
clc;
clear;
close;
// Given data
fs=60; // Frequency
p=6; ... |
e35b099427a9e4d7e9299f74c5a734aea40ffdc2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH4/EX4.4/ex4_4.sce | 287dd92df6d95ae37c6be2e31905c9c154ebd2a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 388 | sce | ex4_4.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
w=4//lbf
h=40//lbf/ft
d=2//in
g=32.2//ft/s
//CALCULATIONS
P=(d*%pi)*sqrt(w/(h*g))//sec
V=(d*%pi*d)/(P*12)//ft/s
M=(d*%pi/P)^2*(d/12)//ft/s
//RESULTS
printf('the period of vibration=% f sec',P)
printf('Maxim... |
5fdea2b3a7a7aef6782a56448008e2bfe66ae4e5 | c85cd177767bb7028f15fecb201143f86b35ae94 | /pathplan.sce | 1cc61b6d15b917bf70a4c055ac45669bc007f1c2 | [] | no_license | Neucrede/Dummy | c879b8b8f2e32da33d53576ce4f56b4638da7df7 | 7f3f158c78620d66abd089dca658297fac0da069 | refs/heads/master | 2021-06-18T00:47:59.632096 | 2021-03-31T09:19:08 | 2021-03-31T09:19:08 | 179,017,060 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,716 | sce | pathplan.sce |
function plot_stencil(d)
scf();
a = gca();
// [xmin,ymin; xmax,ymax]
a.data_bounds = [ min(d(1,:))-2, min(d(2,:))-2;
max(d(1,:))+2, max(d(2,:))+2 ];
plot(d(1,:), d(2,:), 'O');
yy = unique(d(2,:));
yy = yy(:)'; // now, yy is a row vector
... |
c5a809d59f5a03e03d7524c2fe7727ee32660b5f | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/Hyst_diff_c.sci | 49e0710079adc6ea9469f62373915c8f05e2725b | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,926 | sci | Hyst_diff_c.sci | global Ut_sim Kappa_sim;
function block=Hyst_diff_c(block,flag)
//disp(flag)
if flag==1
in_out_num = block.ipar(1); //Vectorized
row_vec_io = 1:in_out_num; // Row vector for input & output
block.outptr(1)(row_vec_io)=block.x(2*row_vec_io); //Output
elseif flag==0
in_out_n... |
37c05dad6958a8b83918173639af7c7bc9624bf8 | c9cea368728effc50ef3a05f10679bcc5c63382a | /Punto1_Parcial.sce | 1a72f7b749b88d6c0fd18f5315b4dba6cb7c2cbc | [] | no_license | juancllanos/Optimizacion | dbb30315da1b6b3bfac0d1ace5d8e468557565d3 | ef85b725af392290dd46febc839f27944a5ed9d7 | refs/heads/master | 2020-04-28T05:46:38.128903 | 2019-05-21T21:59:16 | 2019-05-21T21:59:16 | 175,032,693 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,204 | sce | Punto1_Parcial.sce | // PARCIAL
// (1)
/*
function f = fx(x)
f = 4*x(1) + 4*x(2) - 2*x(3)
disp(-7*x(1)+10*x(2)+2*x(3))
disp(-7*x(1)+10*x(2)+2*x(3) >= 59)
disp(-4*x(1)+7*x(2)+2*x(3))
disp(-4*x(1)+7*x(2)+2*x(3) >= 47)
disp(2*x(1)-3*x(2)-1*x(3))
disp(2*x(1)-3*x(2)-1*x(3) >= -21)
disp(16*x(1)-25*x(... |
8839cdebbd2d643506dc5a3f9a16631ce0a18a3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH5/EX5.10/5_10.sce | d494706638efebe25494ac91ecca62b11467054a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | 5_10.sce | //pathname=get_absolute_file_path('5.10.sce')
//filename=pathname+filesep()+'5.10-data.sci'
//exec(filename)
//Initial pressure(in kPa):
p1=3000
//Initial volume(in m^3):
v1=0.05
//Final volume(in m^3):
v2=0.3
//Value of n:
n=1.4
//Final pressure(in MPa):
p2=p1*((v1/v2)^n)
//Entropy change:
dS=0
//Change... |
ab72f42781807420a1eb5261a9027edc4c52d899 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH1/EX1.1/1_1.sce | 55062a1694b5a4f1a8cbac53bf9c50c85408c996 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | 1_1.sce | clc();
clear;
// To calculate the de Broglie wavelength
c=3*10^8; //velocity of light in m/s
v=c/10; //velocity of proton in m/s
m=1.67*10^(-27); //mass of proton in kg
h=6.626*10^(-34);
lamda=h/(m*v); //de Broglie wavelength
printf("The de Broglie wavelength in metres is");
disp(lamda);
|
2a740817bde82e8a5c0d5d217241012118d6031a | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH3/EX3.14/example14_sce.sce | f845eb620e39112670c54dd3eacb62ba60e98644 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | example14_sce.sce | //chapter 3
//example 3.14
//page 101
printf("\n")
printf("given")
Edc=20;vo=.24;Vo=20;Il=40*10^-3;fr=120;
Eomax=(3.14*Edc)/2
Epeak=(4*Eomax)/(3*3.14)
vi=Epeak;
Rl=Vo/Il
Xlc=(2*Rl)/3
Lc=Xlc/(2*3.14*fr)
L=1.25*Lc;
Xl=2*3.14*fr*L
Xc=Xl/((vi/vo)+1)
C1=1/(2*3.14*fr*Xc) |
fd2b54c53ab6cc871eb76e5e4087daec36b86eba | 8aff21ee3944bdacbff38a386556c89c38377c6a | /augstate.sci | 09eb66d9c168e6de343da15ec09644dd1a3a1e01 | [] | no_license | rutup1595/control-system | bd4704a4aa437a66260301a22adb5e55b49c5c84 | b30d559d8835cd278cc6d6bb81f821cdfcc9ee55 | refs/heads/master | 2021-01-17T10:17:03.192056 | 2019-10-10T05:28:46 | 2019-10-10T05:28:46 | 59,283,553 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,320 | sci | augstate.sci | function[]=augstate(sys)
//
//Calling Sequence
//function[]=augstate(sys)
//Parameters
//sys- SISO or MIMO state space models
//Description
//augstate function appends states to the outputs of a state-space model
//this command is useful to close the loop on a full-state feedbac... |
93d0cdc2646680a66481ec0bc7a585f00286607b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1616/CH2/EX2.22/ex2_22.sce | 48119fe7e784f4f29504abe040f374640d84708a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | ex2_22.sce | //ex2.22 Design the transmission line section as areactive element
f=6e9;
w=2*%pi*f;
L=0.01e-6;
X=w*L;
Z0=150;
lamda=4.0;
b=2*%pi/lamda;
loc=(1/b)*acot(-X/Z0); //length of the line
disp('The reactance to be realized is '+string(X)+' ohm');
disp('The length of the line therefore is = '+string(loc)+' cm');
|
b5404f03ce5c4ca8122c8af9fd63c9d5f0cb0cd8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH3/EX3.5/ex3_5.sce | 6198534a2249aadd110be3bac488d6c02b4b4b89 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | ex3_5.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
w=3//lbf
v=5//ft
a=60//degree
g=32.2//ft
u=28.4//ft/s
t=25.4//ft/s
q=12//ft
p=1.5//ft
//CALCULATIONS
U=sqrt(g*v)//ft/s
T=w*(t)^2/(2*g)+w*cosd(a)//lbf
W=q+p//lbf
//RESULTS
printf('the tension in the strin... |
ee576634e3cee002c70033ba7351e66361b4603b | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH9/EX9.2/Ex9_2.sce | e05f7a0722d1b3ade7b5e06756d0d49e0c72635b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | Ex9_2.sce | //Ex:9.2
clc;
clear;
close;
r1=1000;
r2=1000;
c=100*10^-9;
f=(1/(2*%pi*c*r1));
printf("The freq of oscillation at 1 kohm= %f Hz",f);
R1=6000;
R2=6000;
F=(1/(2*%pi*c*R1));
printf("\nThe freq of oscillation at 6 kohm= %f Hz",F); |
b14a8c9a74a4e5da4648c90c27627ff4951971c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3161/CH14/EX14.1/Ex14_1.sce | f7784bcdb63400192012c38e9edaf478b4adc4fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 998 | sce | Ex14_1.sce | clc;
//page 738
//problem 14.1
//Boltzman constant k = 1.3806488 × 10-23 m2 kg s-2 K-1
k = 1.3806488 * 10^-23;
//Let room temperature be 27 C
T = 27 + 273;
//Bandwidth BW = 10 MHz
BW = 10 * 10 ^6;
//For (a)
//Let the equivalent resistance be Ra
Ra = 10 + 10;
//RMS Noise Voltage be Va
Va = (4*k... |
816d21431aec1e022077ac542f62d0079d3e20e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH6/EX6.27/Ex6_27.sce | 82d173d3cd47a12229ecb5dc0ed20ba4672b1f28 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 590 | sce | Ex6_27.sce | //===========================================================================
//chapter 6 example 27
clc;
clear all;
//variable declaration
KT = 198; //turn ratio
e =0; //ratio error
Is = 5; // secondary current in A
P = 5; //load in VA
Rs = 0.02; //resistance in Ω
KN = 200; //KN=KC since e=0
KC = 200;
... |
c5aa5a7b00887c97a25bf0a39dda9493f91cba40 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/cell2sos/cell2sos1.sce | 09357dd68282974998e4221f1bbd61a2980b8fb0 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | cell2sos1.sce | //i/p is a 1X4 cell
c=cell(1,4);
c(1,1).entries=[0.3209,0.5183,0.3209];
c(1,2).entries=[1,0.1677,0.2575];
c(1,3).entries=[1,0.8927,1];
c(1,4).entries=[1,0.6196,0.8747];
sos=cell2sos(c);
disp(sos);
//output
//column 1 to 4
//
// 0.3209 0.5183 0.3209 1.
// 1. 0.8927 1. 1.
//
// ... |
dd19b0dc378d4e1b28abf8c53f504ee9f8d978fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH8/EX8.4/Ex8_4.sce | f3d2ee70202c5dcc5b696366809dd0144ddf883a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | Ex8_4.sce | clear
//Given
a=60 //degree
u=4*3.14*10**-7 //T/A m
Bc=2
//Calculation
//
a=(Bc/2.0)/(tan(60)*180/3.14)
B1=(10**-7*tan(60)*(sin(60*180/3.14)+sin(60*180/3.14)))*10
B=3*B1
//Result
printf("\n Magnetic fieldat the centroid of the triangle is %0.0f *10**-7 T",B*10**7)
|
276a0f7aa51e576de86ac9045d699bf0e2ee9fa3 | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/3211.tst | 73da903b4cf89fe4a7d4da6a97d602be60f2bcee | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 6,975 | tst | 3211.tst |
#----------------------------------------------------------
# In addition to the below 3211.core file this test
# also uses an associated "3211.rexx" script as well.
#----------------------------------------------------------
*If \$rexx_supported
*Message SKIPPING: Testcase 3211 printer
*Message REASON: No ... |
d102a116736e43c9972ffa5efee487fd06b16823 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH19/EX19.7/example19_7.sce | 30e2e78302d05d82288de9c01a0c6d88aa4bbd0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | example19_7.sce | clc
// Given that
w = 26.91 // isotopic mass of superconducting sample
Tc = 1.19 // first critical temperature in K
w_ = 32.13 // increased isotope mass of superconducting sample
// Sample Problem 7 on page no. 19.16
printf("\n # PROBLEM 7 # \n")
printf("Standard formula used \n ")
printf(" T_c*M^(1/2) = constant \n"... |
8f37b93d028d8f67889016055df6bbc413fd1fb2 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/GOLD-TEST/ood.tst | 2a69249a0b66389c2da0d483bba333b085e3fb06 | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,359 | tst | ood.tst | ko:ji ko:ji N;SG
ko:ji kokji N;PL
cihil cihil N;SG
cihil cihil N;PL
si:l si:l N;PL
si:l si:l N;SG
baʼa baʼad V;IPFV;SG;FUT
baʼa ba: V;PRF;SG;PRS
baʼa baʼad V;IPFV;PL;FUT
baʼa ba'iñ V;IMP;PL;PRS
baʼa baʼa V;IPFV;SG;PRS
baʼa baʼa V;IPFV;PL;PRS
baʼa ba: V;PRF;PL;PRS
baʼa ba'iñ V;IMP;SG;PRS
ha:hag ha:hag N;SG
ha:hag ha:hag... |
323a96affc5d49f67a95d961afd45dbb6c8fe2ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH5/EX5.7.9/Ex5_9.sce | e95682590825c80b1d7f4a074190af0367044a16 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 747 | sce | Ex5_9.sce |
//scilab 5.4.1
//windows 7 operating system
//chapter 5:Semiconductor Junction Diodes
clc
clear
V=15//V=supply voltage
Vz=12//Vz=Zener voltage
P=0.36//P=power of Zener diode
//P=Vz*I
I=(P/Vz)//I=maximum allowable Zener current
disp("A",I,"I=")
Iz=2*10^(-3)//Iz=minimum value attained by the zener current
R... |
7450ecfb0acbc0eeb9f447f3df1604dc5fb527e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /380/CH6/EX6.7/Ex6_7.sce | e6c8515060303c844711d67b1d768b0def0dee26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | Ex6_7.sce | //Caption:Find the torque and efficiency of the motor
//Exa:6.7
clc;
clear;
close;
V_s=120;//in volts
N_m=2400;//speed of motor (in rpm)
I_in=7;//input current (in Amperes)
L=0.5;//arm length (in meter)
F_d=4.57;//deflection force (in Newton)
W=0.03;//weight (in Newton)
F=F_d-W;
T_s=F*L;
disp(T_s,'shaft to... |
3e68f4fe4c70ba8bd7ebe38d2bce41e4e4441017 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH10/EX10.9/Ex10_9.sce | ae01a98e1befa76d7b2f87315ccb0edf76b010ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,627 | sce | Ex10_9.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 10 Example 9")
h=10;//height of indicator diagram in mm
k=25;//indicator constant in KN/m^2 per mm
N=300;//engine rpm
Vs=1.5*10^-2;//swept volume in m^3
M=60;... |
1d9fad55e77e39dff5889537af37194dfdb7da2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH6/EX6.7/ex6_7.sci | f7679485dfd1beca7d4edb90ead40002e7761108 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sci | ex6_7.sci | //Ex6.7
clc;
V=100
Il=200
Rs=0.03
Rf=60
Ra=0.04
Vsfw=Il*Rs
printf("\n Voltage drop in series field winding =%.0f V \n",Vsfw)
If=(V+(Il*Rs))/Rf
printf("\n If=%.2f A \n",If)
Ia=Il+If
printf("\n Ia=%.2f A \n",Ia)
Eg=V+(Il*Rs)+(Ia*Ra)
printf("\n Generated EMF=%.2f V \n",Eg)
|
61501742c489c99b61c9833c328726c3c31aba56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH12/EX12.16/Example12_16.sce | ad3581707924aaf79180d8a27a571fa6453b847e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 4,565 | sce | Example12_16.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 12: POWER,ENERGY,AND EFFICIENCY RELATIONS OF DC AND AC DYNAMOS
// Example 12-16
clear; clc; close; // Clear the work space and console.
// Given data
// code letter = J
P = 6 ; // Number of poles... |
5835ef160926de3bbb159841f11aa76269443166 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH1/EX1.2/Exa1_2.sce | e91d77b3050c4107c57613f1eb6b54406529a87a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sce | Exa1_2.sce | //Exa 1.2
clc;
clear;
close;
//given data :
H=5.2;//in mA/m
Eta=120*%pi;//constant
//Formula : E/H=Eta
E=H*10^-3*Eta;//in V/m
disp(round(E),"Strength of Electric field in free space in V/m : "); |
293b54479334c2643e38c8361009bcc42e856d2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH9/EX9.4/Ex9_04.sce | ae65e3792ce86e946cee80b95f994aa64b3320f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 835 | sce | Ex9_04.sce | // Scilab Code Ex9.4: Page-310 (2014)
clc; clear;
m = 1; // For simplicity assume mass of gas molecule to be unity, kg
k = 1.38e-023; // Boltzmann constant, J/K
T = 293; // Room temperature, K
bita = k*T; // Energy associated with three degrees of freedom, J
v_mps = sqrt(2/(bita*m)); // For simplci... |
5ad51e5cf66b9c5a3a13d1ab3b01377d74eac7b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /43/CH6/EX6.3/ex6_3.sce | e0abf0ca7fe8763891827cf22813f8897571e08f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 135 | sce | ex6_3.sce | //Ex 6.3
clc;
syms s;
i=5;
R=2;
L=1;
C=1/2;
Z=((R+L*s)*(1/(C*s)))/((R+L*s)+(1/(C*s)));
V=Z*i;
v=ilaplace(V);
disp(v,'v(t)='); |
6590dbd53070d6386805eacc8dad87af1a2e6dbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH5/EX5.5/Ex5_5.sce | fb8ff6a79432a6ea50172107d74df60eaeb5eed9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | Ex5_5.sce | //Ex:5.5
clc;
clear;
close;
Nm=1.24*10^6/10^6;// electron density in per m^3
fc=9*sqrt(Nm);// critical frequency in MHz
printf("The critical frequency = %f MHz", fc); |
e6ea364f21c073865c5cd765cad381b08759b408 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2579/CH4/EX4.17/Ex4_17.sce | adf43af506c85736a6a7e20e607210be3c599b00 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | Ex4_17.sce | //Ex:4.17
clc;
clear;
close;
r=0.45;// distance in m
f=10*10^3;// frequenc in MHz
y=300/f;// wavelength in m
Wtr=8.9;
wtr=10^(Wtr/10);
wrt=1/wtr;
D=(4*%pi*r/y)*(sqrt(wrt));// gain of the horn antenna
d=10*log(D)/log(10);// gain of the horn antenna in dB
printf("The gain of the horn antenna = %f dB", d); |
1b7d587a6d0f9f446b0a7754767185c82f9df1e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH6/EX6.5.c/Solved_EX_6_5c.sce | b308b5c142c7922c24b41e1a8075fbd7eec6b747 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | Solved_EX_6_5c.sce | //Determine even and odd parts of the signals x(n)={4,-4,2,-2}
clc;
clear;
x1={0 0 0 4 -4 2 -2};
plot2d3(x1);//for discrete plot
x2={-2 2 -4 4 0 0 0};
Xo=(x1/2-x2/2);
Xe=(x1/2+x2/2);
disp(Xo,'Odd part');
disp(Xe,'Even part');
xset('window',1);
subplot(1,2,1);
plot2d3(Xo);
xlabel("time");
ylabel("odd p... |
a1000960af0d6609539a5795b07025befd0379f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH11/EX11.11/Ex11_11.sce | 05b74da916a5e6682c785435cac44d206937859b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,879 | sce | Ex11_11.sce | clc
A= 10^-2
disp("A= "+string(A)+"cm^2") //initializing value of diode area
Na=5*10^16
disp("Na = "+string(Na)+"cm^-3") //initializing value of p side doping
Nd=5*10^17
disp("Nd = "+string(Nd)+"cm^-3") //initializing value of n side doping
Dn = 30
disp("Dn= "+string(Dn)+"cm^2/s")//initializing value of electro... |
31aa01fb11803a17e9781dd81ab1825a676821a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH1/EX1.13/exa_1_13.sce | 05990a6a50d83f2e3833bc9f55804187d13cb323 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | exa_1_13.sce | // Exa 1.13
clc;
clear;
close;
// Given data
Rf= 250;// in kohm
// Output voltage expression, Vo= -5*Va+3*Vb
// and we know that for a difference amplifier circuit,
// Vo= -Rf/R1*Va + [R2/(R1+R2)]*[1+Rf/R1]*Vb
// Comparing both the expression, we get
// -Rf/R1*Va= -5*Va, or
R1= Rf/5;// in kohm
disp(R1,"The... |
1805f892e672b63e5443ee0c160900322f2ed6c1 | 717ddeb7e700373742c617a95e25a2376565112c | /2633/CH9/EX9.6/Ex9_6.sce | 641dcaf30e2e505753bcdbcf18eedb5dc006c5a2 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 541 | sce | Ex9_6.sce |
clc
//initialisation of variables
d=30//in
w=50//lbf ft
d1=10//in
G=12*10^6//lbf/in^2
T1=50//lbf ft
T2=16.7//lbf ft
J=4810//lbf ft
TA=w/3//lbf ft
Tab=w-TA//lbf ft
//CALCULATIONS
Ta=Tab-TA//lbf ft
Qmax=T3*G*(3/8)/(%pi/32)*(3/4)^4//lbf/in^2
M=(T3*12*d1)/(%pi/4*(3/4)^4*G)*(180/%pi)//degree
//RESULTS
prin... |
1698e35f616e98b621881923c6d97dfa610979a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH11/EX11.2/sadiku_11_2.sce | c4c50b0123e8b1218271115ca1c3c2c6110acad2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | sadiku_11_2.sce | clear;
clc;
Zo=60,a=20*10^-3,u=.6*3*10^8, f=100*10^6;
R=a*Zo,disp(R,'R=');
L=Zo/u,disp(L*10^9,'L in nH=');
G=a*a/R,disp(G*10^6,'G in micro S per meter =');
C=1/(u*Zo),disp(C*10^12,'C in pF =');
l=u/f;disp(l,'l=');
|
b5933887f9ded376957821eca3624c99b2e2914d | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_VecFunc/cummulativeProduct.sce | 84acbb06d553581766ec78636d327b981fbaf632 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | cummulativeProduct.sce | // Function Name: cummulativeProduct
// Calculate the cummulativeProduct for given array
// Calculating the cummulativeProduct.
inputvec1 = [1, 2, 3];
result = armaVec("cummulativeProduct",inputvec1)
|
325316d60adee4e47cfb01d4ee9dd9f8dbed4e37 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Engineering_Electromagnetics_S._Bhooshan_980.zip/Fundamentals_Of_Engineering_Electromagnetics_S._Bhooshan_980/CH1/EX1.3/1_3.sce | efae8b7d3f94dcb395d334a49130857d8a8e60cf | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 275 | sce | 1_3.sce | errcatch(-1,"stop");mode(2);;
all;
format('v',11);
mod_a=sqrt(3^2+2^2);
mod_b=sqrt(15^2+3^2);
angle_a=atand(2/3);
angle_b=atand(3/15);
mod_ans=mod_a*mod_b;
angle_ans=angle_a+angle_b;
disp(angle_ans,"phase angle of ans(in degree)=",mod_ans,"mod of ans=");
exit();
|
f01fe51905d963e35d5659577491ff2152757f1d | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/help/builder_help.sce | 4d421c81c99694f5fe09580ede473f431f17292d | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | builder_help.sce |
help_dir = get_absolute_file_path('builder_help.sce');
tbx_builder_help_lang("en_US", help_dir);
helpdoc_path = help_dir+'en_US';
//xmltopdf(helpdoc_path, 'OpenPR Manual', 'en_US');
//xmltohtml(helpdoc_path, 'OpenPR Manual', 'en_US');
clear help_dir;
|
2e613272225e03fa0548108d40d38383bd156b26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH2/EX2.4/Example2_4.sce | d72b423e01a3c37807e54a38b9410422bb70d2c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 662 | sce | Example2_4.sce | clear;
clc;
// Example: 2.4
// Page: 41
printf("Example: 2.4 - Page: 41\n\n");
// Solution
//*****Data*****//
// From Fig. 2.4 (Page: 41)
// For process A-1-B:
Q1 = 60;// [kJ]
W1 = 35;// [kJ]
// For process A-2-B:
W2 = 50;// [kJ]
// For process B-3-A:
W3 = -70;// [kJ]
//************//
// For p... |
74266ce2760dcd22fc2059314c8a68b4c09e5576 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH8/EX8.6/6.sce | 85bd4184a26aedefba3204be11461a3d63bdca63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,049 | sce | 6.sce | clc
//Example 8.6
//Calculate the cross sectional area, pressure, temperature and mach number at a pt in duct where air velocity is 1400ft/s
P1=30//psia
T1=660//R (Rankine temperature scale)
m=10//lbm/s mass flow rate
v1=1400//ft/s
R=4.98*10^4//(ft^2/s^2)*(lbm/lbmol.R)^0.5
k=1.4//dimentionless
M=29//lbm/lbmol
... |
4c741aa0b007ee35bfd173a228acd36e9fcb2a43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH17/EX10.17.3/Ex10_17_3.sce | a72ab21968012216d6b3867fee0db6d6bd299c9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 279 | sce | Ex10_17_3.sce | //Section-10,Example-2,Page no.-CT.29
//To find the largest mass which can be lifted through a height of 10 meters in the given expansion..
clc;
P_2=1
P_1=5
R=8.314
T=298
n=1
W=-(n*R*T)*log(P_1/P_2)
disp(W,'Maximum work done in(J)')
m_bar=-W/98.1
disp(m_bar,'Required mass(kg)')
|
2a58cb3e9c3e185afbcea1469d0a6893b950cee6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH14/EX14.11/EX14_11.sce | a1bb07abfb4820991b60b44ac7126851704a10c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,121 | sce | EX14_11.sce | // Example14.11 // Design a video amplifier of IC 1550 circuit
clc;
clear;
close;
Vcc = 12 ; // V
Av = -10 ;
Vagc = 0 ; // at bandwidth of 20 MHz
hfe = 50 ; // forward emitter parameter
rbb = 25 ; // ohm // base resistor
Cs = 1*10^-12 ; // F // source capacitor
Cl = 1*10^-12 ; // F // load capacitor
I... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.