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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
be05e1ad722ad2e0964ad67fb4a0bc0d8d3f16ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH1/EX1.2/Ch01Ex2.sce | 97ffa47b751c6c09586028faa9eefb2e6b87717d | [] | 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 | 920 | sce | Ch01Ex2.sce | // Scilab Code Ex1.2 Page-14 (2006)
clc; clear;
r = 0.143e-09; // Radius of Nb unit cell, m
d = 8.57e+03; // Density of Nb unit cell, kg/metre-cube
M = 92.91e-03; // Atomic weight of Nb, kg per mole
N = 6.023D+23; // Avogadro's No.
// For fcc
a = 4*r/sqrt(2); // Lattice parameter for fcc structur... |
7fb9983870425d4154d48f14fc80e5631a59fca7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH4/EX4.1/ex4_1.sce | 0a7051a82b90bc80b94ebc9ac29036e2a62f5111 | [] | 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 | 284 | sce | ex4_1.sce |
//Exa:4.1
clc;
clear;
close;
//Given:
//Ec^2=Pk
printf("\n After 100percent modulation energy gets doubled");
printf("\n So, \n (2Ec)^2=4*Pk");
printf("4*Pk/2=2Pk The SIGNAL POWER GETS DOUBLED \N THIS IS TYPICAL OF DIGITAL MODULATION SYSTEM WITH ON-OFF Keys OR OOK signal"); |
673290fc8be0b0684e20c36e22245949a684c13b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.47/ch1_ex_47.sce | 9b53f1882600be240b4ebe547a7ce1191c6b6a57 | [] | 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 | 831 | sce | ch1_ex_47.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 47
disp("CHAPTER 1");
disp("EXAMPLE 47");
//VARIABLE INITIALIZATION
lc=20; //length of copper wire in m
dc=0.015/100; //diameter of copper wire in m
rhoc=1.7; //specific resistance for copp... |
b9e3ab3cf1c32c6120153d6cd3f3dfb33607a272 | 449d555969bfd7befe906877abab098c6e63a0e8 | /49/CH4/EX4.7/ex7.sce | 728446efcb67946c74d9c6f35c43181494e3f0d1 | [] | 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 | 791 | sce | ex7.sce | //CHAPTER 4_ Motion and Dimensional Measurement
//Caption : Seismic vibration
// Example 7// Page 232
disp("ty=0.6")
disp("fn=10")
disp("f=25")
disp("M=0.15")
disp("xo=1.5*10^-3")
ty=0.6 //(' enter the damping ratio of seismic vibration pickup=:')
fn=10 //('enter the natural frequency =:')
f=25 //('enter ... |
47e63658a5df65b85bfe99f0c9adc5fe126c7898 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH9/EX9.21/Chap9_Ex21_R1.sce | eb7930fa2cce5c018de739ae9547943cff5ef3c1 | [] | 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,967 | sce | Chap9_Ex21_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-9,Example 21,Page 346
//Title: Fugacity coefficients of the components in a mixture using the Virial Equation of state
//=============================================================================================... |
3c1133d6d11d963d51f1121a3056e625a6fd81da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH9/EX9.1/Ex9_1.sce | ad0da1940c83d7a66ac440e07744445c44f63f8e | [] | 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 | 750 | sce | Ex9_1.sce | clc
kbT = 0.026
disp("kbT = "+string(kbT)+"eV") //initializing value of kbT at 300K
apsilen = 11.9*8.85*10^-14
disp("apsilen = "+string(apsilen)+"F/cm") //initializing value of relative permitivity
e = 1.6*10^-19
disp("e= "+string(e)+"C")//initializing value of charge of electron
Na=10^16
disp("Na = "+string(Na... |
eeef1f359b64780c926e7349fcc52532ff3dc5ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH7/EX7.16/ex7_16.sci | cf1862534d175af6cd6228b87a742df3e21d70ab | [] | 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 | 831 | sci | ex7_16.sci | //Programming Example 7.16
//The towers of hanoi
function[]= main()
printf("Welcome to theTOWERS OF HANOI\n\n");
printf("How many disks? ");
n= scanf("%d");
printf("\n");
transfer(n,'L', 'R','C');
endfunction
function[] = transfer(n,from,to,temp)
//transfer n disks from one p... |
2a396964362239f0d749fb8808b96d4c56f6b964 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Mechancis-schaum_Series_Mclean_3137.zip/Engineering_Mechancis-schaum_Series_Mclean_3137/CH19/EX19.15/Ex19_15.sce | d9a16f95d1379f8bb585e5573924c713fd9792b6 | [] | 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 | 209 | sce | Ex19_15.sce | errcatch(-1,"stop");mode(2);//Initilization of variables
W=10 //lb
A=2 //in^2
//Calculations
wn=sqrt(((A/144)*5*62.4*5)/2.59) //Hz
//Result
printf('The frequency of oscillation is %f Hz',wn)
exit();
|
814495d1b2c40974f38ffb1a49a9252cc0e30755 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH10/EX10.12/10_12.sce | b174615da203786688ccd09972c32b039bbd21e6 | [] | 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 | 266 | sce | 10_12.sce | //Example 10.12
//Third Order Runge Kutta Method
//Page no. 322
clc;clear;close;
deff('y=f(x,y)','y=x^2-y')
y=1;h=0.1;
for i=1:2
x=(i-1)*h
K1=h*f(x,y);
K2=h*f(x+h/2,y+K1/2);
K3=h*f(x+h,y+K2);
y=y+(K1+4*K2+K3)/6
printf('\ny(%g) = %.9f\n\n',x+h,y)
end |
7a050ccff939e298632a4facaebe4b9f66b8a323 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH1/EX1.4.3/1_4_3.sci | 5ba9752b3082b0915f9c7fa024a6e0adf81bae3c | [] | 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 | 112 | sci | 1_4_3.sci | //page 24
clear;
close;
clc;
A=[1 2;3 4];
disp(A,'A=');
I=eye(2,2);
disp(I,'I=');
disp(I*A,'IA=')
//end |
e4238912b024f997090df614115f491d03b11eac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH7/EX7.4/Ex7_4.sce | 47c82fe5211b8b7a34b95776f690766b6d4451ef | [] | 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 | 960 | sce | Ex7_4.sce | clear;
clc;
// Example 7.4
printf('Example 7.4\n\n');
printf('Page No. 204\n\n');
// This question doesnot contain any calculation part.
//Refer figure 7.3, 7.4, 7.5
T_max = 200;// Flue gas exit temperature in degree celcius
printf(' The company investigate four alternative methods of heat abstraction using t... |
268972d36c187651783081f5717a4f1b9a3c93ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH16/EX16.5/Ex16_5.sce | cdda6437eb0f44bba8750910ffa2ea33a5a02d79 | [] | 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,433 | sce | Ex16_5.sce | //Variable declaration:
//From figure 16.13, for ideal countercurrent heat exchanger:
T1 = 150.0 //Inlet temperature of hot fluid ( F)
T2 = 100.0 //Outet temperature of hot fluid ( F)
t1 = 50.0 //Inlet temperature of cold fluid ( F)
t2 = 80.0 ... |
3f9e42ccc445ee88849598a38ae29ddca7d2bd30 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/SCHI/NF65WHQ/ATWM1_Working_Memory_MEG_NF65WHQ_Session2/ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | 94eea06530aae43bb30c22f24aabec4fef70272e | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,405 | sce | ATWM1_Working_Memory_MEG_Salient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_uncued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monit... |
eba38dd80dc23dffa104d69783900fb49826b4c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3480/CH5/EX5.4/Ex5_4.sce | 541b7758b5ba638e6360280c98d98c5d1ee6e9f6 | [] | 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 | 656 | sce | Ex5_4.sce | //Example 5.4, page 113
clc
n1=1.50
n2=1.60
n_dash=1.33
n_doubledash=1
p1=((n1-n_doubledash)/.04)+((n_dash-n1)/-0.04)
p2=((n2-n_dash)/-.06)+((n_doubledash-n2)/.06)
p=p1+p2+(-.015*p1*p2)
printf("The power is %f D", p)
//Part b
f=1/p
f_doubledash=1/p
printf("\nThe focal length f is %f m",f)
printf("\n The focal length f'... |
1a0ff8546ac349fd93cc10054098d26238aeb884 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH4/EX4.4/Ex4_4.sce | a29d9b8b83bf19ba10183728dba218a6ccf11d2a | [] | 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 | 584 | sce | Ex4_4.sce | clc;
clear;
n0=5*10^15 //carrier concentration in cm^-3
ni=10^10 //in cm^-3
p0=2*10^4 //in cm^-3
deln=5*10^13 //excess carriers in semiconductor in cm^-3
delp=5*10^13 //in cm^-3
Const=0.026 //constant value for kT/e in V
//Calculation
delE1=Const*log(n0/ni)
delE2=Const*log((n0+deln)/ni)
delE3=Const*log((p... |
35af755940e16da58f35a8e73eb154964f506391 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/xdess/xbasr.sci | 66c1dd1fa25d7901fd61eff63fc205a7439d6309 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 272 | sci | xbasr.sci | //[]=xbasr(win_num)
//[]=xbasr(win_num)
// This function is used to redraw the content of the graphic
// window win_num. It works only with the driver "Rec"
//!
cw=xget("window");
xclear(win_num);xset("window",win_num);xtape('replay',win_num);
xset("window",cw);
//end
|
8b65fb4464338fc8aa15fbe7b7a8bfc37b9f4f0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH12/EX12.11/Ex12_11.sce | 02b4486e1a91f61e286281b2aa98fdb5bdf829d2 | [] | 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 | 155 | sce | Ex12_11.sce | clear
//Given
w=1000/60.0
r=0.3
B=0.5 //T
//Calculation
v=w*r
vav=v/2.0
e=B*r*vav
//Result
printf("\n e.m.f induced is %0.3f V",e)
|
b38a1c3d8e20ad3d19938d5962f54195a236f12b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH4/EX4.1/Ex4_1.sce | 23c6da17762a5da0cb94beadf97a21f74fd12ade | [] | 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 | 265 | sce | Ex4_1.sce | // Example 4_1
clc;clear;funcprot(0);
//Given values
// u=0.5+0.8x
// v=1.5-0.8y
//Calculation
//Since V is a vector, all its components must equal zero in order for V itself to be zero.
x=-0.5/0.8;
y=-1.5/-0.8;
disp(y,x,"Stagnation point x&y in m");
|
632bfdd46e5e3abe4e3e82ca4505946439861650 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.0/macros/robust/lmitool.sci | fc8257cc22a5cd69d997881554e06a0d9e7b03b4 | [
"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 | 19,114 | sci | lmitool.sci | function [solver]=lmitool(lmi_eval,vstruc,vdim)
// LMITOOL: a tool for solving LMI problems.
// input: a macro which defines the LMI's
// ouput: a macro solver which solves your problem
[LHS,RHS]=argn(0);
lmi_driver='nemirov'
if RHS==0 then
x_message('Welcome to LMITOOL, a help in solving LMI problems...')
Proble... |
909e8fc8b0564f1f2a6b49bcd39cf47bb76199b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH10/EX10.9/Example10_9.sci | 358cb7d07eca4cdfb6295d317531809fbde7f3bd | [] | 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,052 | sci | Example10_9.sci | //Chapter 10_Special Purpose Amplifiers
//Caption : Common Emitter Amplifier Parameters
//Example10.9: A single common emitter amplifier has following device and circuit parameters: Rb=60 Ohm,Rs=40 Ohm,Cu=1.5 pF,Cl=1 pF,ft=1.6 GHz at Ic=2.5 mA quiescent current.Determine each of the following for two values of Rl: 30... |
da93d145b5775903f41d4ec7c3b7e8eec91d3ca3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2975/CH24/EX24.18w/Ex24_18w.sce | d969bb71365ea1422e9d8d23466a9e5e8dfa4714 | [] | 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 | 928 | sce | Ex24_18w.sce | //developed in windows 8 operating system 64bit
//platform Scilab 5.4.1
//example 24_18w
clc;clear;
//Given Data
temperature=300; //Temperature of the water vapour (Unit: Kelvin)
volume=1; //Volume of the water vapour(Unit : m^3)
molecular_weight_water=18; //Molecular weight of the water (Unit: g/m... |
b9901fc59de0d821b09483a634e1d004c9da6df1 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter5/Ch_5_Eg_5.13.sce | 065ff315fba3292c04b6f866df28bcb0f761daaa | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 322 | sce | Ch_5_Eg_5.13.sce | //To plot various types of horizontal bar charts
x=3:5;
y=1:3;
x1= [1,4,5];
y1=5*rand (3,3);
y2= [1, -2,3];
subplot (2,3,1), barh(y);
subplot (2,3,2), barh (x, y);
subplot (2,3,3), barh (x, y1);
subplot (2,3,4), barh (x, y1,"stacked");
subplot (2,3,5), barh (x, y2);
subplot (2,3,6), barh (x, y1,.2,"green");... |
244a844b190bd9a0f5d792d609c808dd52388bf8 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_oo_bfa_mt/~BivLCM-SR-bfas_oo_bfa_mt-PLin-VLin.tst | f32068a88726ae57f7c734b178ca90e3a8e8d9a2 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_oo_bfa_mt-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.273611D+00
... |
0f0094f412e4759b39c926de49ad791fa2f5b03b | 0778f91e335afef58ae45c5a33184587cee76088 | /SistemaEDOeuler.sci | 5340cb1d3126c7f87055695872f88398a97cd567 | [] | no_license | LtavaresII/CN | b38e6f5531a3597f8705bdf163f4cec49f49d51e | 0dcfb182692dee3ecf71d62162f986f816b3d687 | refs/heads/master | 2020-03-25T23:35:53.410172 | 2018-12-05T14:17:32 | 2018-12-05T14:17:32 | 144,282,768 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sci | SistemaEDOeuler.sci | function z = gL1(t,L1,L2)
z = -0.4427*sqrt(L1) + 0.23*(4 + 4*sin(t));
endfunction
function z = gL1(t,L1,L2)
z = -0.4427*sqrt(L2) + 0.4427*sqrt(L1);
endfunction
function [t,L1,L2] = eulerSistema(a,b,h,L10,L20)
t = a:h:b
n = length(t);
L1(1) = L10
L2(1) = L20
for i = 1:n-1
kL1 =... |
41241d35436e9c5cf918fe7a46e5758b520c9e15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH8/EX8.1/Example_8_1.sce | 2a30d5e1b5f6f7cf491889934efa0d9e5a3cd732 | [] | 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 | 911 | sce | Example_8_1.sce | //clear//
clear;
clc;
//Example 8.1
//Given
vdot = 40; //[gal/min]
pb = 50; //[lbf/in.^2]
Za = 4; //[ft]
Zb = 10; //[ft]
hfs = 0.5; //[lbf/in.^2]
hfd = 5.5; //[lbf/in.^2]
neta = 0.6;
rho = 54; //[lb/ft^3]
pv = 3.8; //[lbf/in.^2]
g = 9.8; //[m/s^2]
gc = 32.17 //[ft-lb/lbf-s^2]
hf = hfs+hfd; // [lbf/in... |
9de2080e8b96ab5d9efff0e1ff80f31600d91726 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH3/EX3.20/Ex3_20.sce | ed107fe674c41bdb7dcef02625e160baaa180260 | [] | 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 | 253 | sce | Ex3_20.sce | //Chapter 3: Thermodynamic and Chemical Equilibrium
//Problem: 20
clc;
// Solution
Eq_HI = 1.56 / 2
Eq_H2 = 0.22 / 2
Eq_I2 = 0.22 / 2
Kc = Eq_H2 * Eq_I2 / (Eq_HI ** 2)
mprintf("The equilibrium constant for the dissociation reaction %.4f",Kc)
|
a16c858479e4e88adeb167f2dc5280a5c94d2298 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH9/EX9.3/9_3.sce | 06b88da6b0ea397ad2dfae97085bcfcd695c2910 | [] | 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 | 404 | sce | 9_3.sce | clear;
clc;
Ro=500;Td=1*(10^-6);Tr=0.3*(10^-6);
n=1.1*((Td/Tr)^(3/2));
N=round(n);
printf("-Number of T-sections required = %f\n",N);
C=Td/(1.07*N*Ro);
printf("-C = %f microfarads\n",C*(10^6));
L=(Ro*Td)/(1.07*n);
printf("-L = %f mH",L*(10^3));
//the difference in result of L is due to erroneous value in text... |
348c64e562c58fd679d454da5521ce33869150d0 | 31c6b1437c7dc52b977bf6790b1b24eff7f7b5f5 | /search_test.sce | f6b72d0770274325c6b366064852ae1915a84be9 | [] | no_license | RobinEccleston/Scilab-Snippets | 4744c071ef891cc4905cbecc000a1f5bf667a8f7 | 7886058a25ec4821cfeba6d8e148a0a2aced330c | refs/heads/master | 2021-01-26T00:48:02.042794 | 2020-02-26T11:35:49 | 2020-02-26T11:35:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | search_test.sce | ModuleName=""
Version="0.01"
DateModified="19-Oct-2015"
DateOfCreation="19-Oct-2015"
Author="Rob Eccleston"
Description=""
test=["a", "b", "c"]
search_for="d"
search_result=grep(test, search_for)
if search_result<>[]
mprintf ("found")
end
|
20f95d192881b987b2c7975d43bc7fc161654b60 | bccc40c870821aa0926bcb3bcd6e30c02f5c9ea7 | /GuidesProcedure_TEST.tst | 853c4a345bafdcba292c122f1020b0f8c56b7b22 | [] | no_license | rivkazi/DataBaseProject--PLSQL | 27c7c8b3cf34f64de9709030064c41020d1595d4 | 70c6f93f6fa0f1f4ec3e42c7051f883ad118d018 | refs/heads/main | 2023-06-30T21:02:42.217915 | 2021-08-04T21:22:05 | 2021-08-04T21:22:05 | 392,821,978 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 101 | tst | GuidesProcedure_TEST.tst | PL/SQL Developer Test script 3.0
4
begin
-- Call the procedure
GuidesProcedure;
end;
0
0
|
b2c3abc6fbf5fe85cec0f5806a55546c86d44635 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH7/EX7.4/ex7_4.sce | c52b362bc8c69adb1e3dfcbf99bee18ff0b065e9 | [] | 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 | 410 | sce | ex7_4.sce | // Exa 7.4
clc;
clear;
close;
format('v',6)
// Given data
V_DD = 30;// in V
R_D = 5;// in k ohm
R_D = R_D * 10^3;// in ohm
I_D = 2.5;// in mA
I_D = I_D * 10^-3;// in A
R_S = 200;// in ohm
// V_DD = (I_D*R_D) + V_DS + (I_D*R_S);
V_DS = V_DD - (I_D*(R_D+R_S));// in V
disp(V_DS,"The value of V_DS in V is");
... |
8d694941c5983257cd28d5b8089c69c583548299 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/multiplicarEscalar.sce | bf9f34d99e20096c8295da4a5861dc0e9aa228d4 | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | multiplicarEscalar.sce | function matrizR = multiplicarEscalar(escalar, matrizA)
matrizR = escalar*matrizA
endfunction
|
ad815232204e128abf2dc0578da2cb0b4a1ce382 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH7/EX7.8/Ex7_8.sce | 07e9f04c3d2789e222fad4d248c6744ced8715ba | [] | 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 | Ex7_8.sce | clear
//
//
//
//Variable declaration
r=5.29*10**-11 //radius(m)
B=2 //magnetic induction(web/m**2)
e=1.6*10**-19 //charge(c)
m=9.1*10**-31 //mass(kg)
//Calculation
d_mew=e**2*r**2*B/(4*m) //change in magnetic moment(Am**2)
//Result
printf("\n change in magnetic moment is %0.3f *10**-29 A-m*... |
66a45dbb0f148619bb718c516c84a89c7b2c0843 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH8/EX8.10/ex8_10.sce | 14a58db4dd5443688577c9d46f380e2613fbfaea | [] | 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 | 992 | sce | ex8_10.sce | // Exa 8.10
clc;
clear;
close;
format('v',5)
// Given data
V_CC = 12;// in V
r_e = 25;// in mV
r_e = r_e * 10^-3;// in V
R1 = 1.2;// in Mohm
R1 = R1 * 10^6;// in ohm
R3 = 1.2;// in Mohm
R3 = R3 * 10^6;// in ohm
R4 = 8;// in k ohm
R4 = R4 * 10^3;// in ohm
R5 = 24;// in k ohm
R5 = R5 * 10^3;// in ohm
Bet... |
4a9b17e824d1709b8706522117af2cbbd371c63c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH9/EX9.13/Ex9_13.sce | 066470771af49c5bf7853a6ee29736b4c6379b9d | [] | 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 | 891 | sce | Ex9_13.sce | // Chapter 9 example 13
// Data taken from Ex 12
//------------------------------------------------------------------------------
clc;
clear;
// Given Data
PW = 10^-6; // Pulse width in sec
Pp = 100*10^3; // Peak power in watts
PRF = 1000; // pulse rep.rate
N_target... |
650a0a70aea0853d88e9eba1825405d3e4589aa6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/DEPENDENCIES/cross_product.sci | c00b7ebdf96ae2f1e139a68777b0eedf445c8d9b | [] | 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 | 190 | sci | cross_product.sci | //Vector Product of two given vectors
function [val] = crossproduct(A, B)
val = [A(2) * B(3) - A(3) * B(2),
A(3) * B(1) - A(1) * B(3),
A(1) * B(2) - A(2) * B(1)]
endfunction |
8df6f391006439112128ef75003174a235d15c6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH1/EX1.58/Example_1_58.sce | af3cb005bc8c286f9b7d207889f7b4c28175c98f | [] | 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 | 404 | sce | Example_1_58.sce | // Example 1.58 An unbiased die is thrown
clc;
clear;
p=1/6;
Ex=p*(1+2+3+4+5+6);
Ey=p*(1+2+3+4+5+6);
Ez=p*(1+2+3+4+5+6);
Ew=p*(1+2+3+4+5+6);
disp(Ex+Ey+Ez+Ew,"Mathematical expectation of the sum is the sum of mathematical expectations for 4 dice respectively (Es)=",Ex,"Mathematical Expectation of the number o... |
cf134b7ab984478f5c1e0f60fe0a2298859c4097 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH5/EX5.5/ex_5.sce | 62b77d9cb8b26aba63368b0436bb51581ced3de3 | [] | 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 | 489 | sce | ex_5.sce | // Chapter 5_Non equilibrium excess carriers in semiconductors
//Caption_Relaxation time
//Ex_5//page 190
Nd=10^16 //donor concentration
e=1.6*(10^-19) //electronic charge
mun=1200 //mobility
sig=e*mun*Nd
epsR=11.7 //dielectric constant for silicon
epso=8.85*(10^-14)
eps=epso*epsR //permitivity of ... |
fc5a854297b42b8ce1f69dbc1253e3cad3bdbd55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH3/EX3.21c/Exa_3_21c.sce | a7bc600dfc1912b62a6b6882d5bf56860d3e33eb | [] | 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 | 522 | sce | Exa_3_21c.sce | clear;close;clc;
max_limit=10;
h=[1/2 1/2 1/2];
n2=0:length(h)-1;
x=[2 4 6 8 10];
n1=0:length(x)-1;
y=convol(x,h);
n=0:length(x)+length(h)-2;
a=gca();
subplot(211);
plot2d3('gnn',n2,h);
xtitle('impulse Response','n','h[n]');
a.thickness=2;
a.y_location="origin";
a=gca();
subplot(212);
plot2d3('gnn',n1,x... |
ca607f04f7ee88212f5bc45134aa5e327a385808 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH27/EX27.2/27_2.sce | d6d1851aa2080c69eb33f19efa1b3394ecd3380f | [] | 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 | 613 | sce | 27_2.sce | //clc()
z(1) = 10.0035;
T(1) = 40;
Ta = 20;
h = 0.5;
for i = 1:20
k11(i) = z(i);
k12(i) = 5*10^-8*(T(i) - Ta)^4;
z1 = z(i) + h/2;
T1 = T(i) + h/2;
k21(i) = z1;
k22(i) = 5*10^-8*(T1 - Ta)^4;
z1 = z(i) + h/2;
T1 = T(i) + h/2;
k31(i) = z1;
k32(i) = 5*10^-8*(T1 - Ta)^4... |
d7e2d77087bcd69664e13f16838994db5b2a4a18 | 25ec4bae7c1d991a8b4f36a96650a07061417648 | /Exemplos/exemplo03AjusteRGB/azul.sce | 41acf53f7c5876877dc3aa6a7f67b6f7dba92bdf | [] | no_license | OtacilioNeto/EV3MicroPythonExamples | 716f76e4179d98157577d68b116a33a078aed085 | 037af9585402fe294d3c82d3b7d88cb49bc26bcf | refs/heads/master | 2023-06-08T19:34:49.916922 | 2023-06-02T13:24:10 | 2023-06-02T13:24:10 | 226,492,496 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 22,845 | sce | azul.sce | // Red Green Blue Red Green Blue
azul = [
3 12 33 2 8 20;
3 12 33 2 8 21;
3 12 33 2 8 20;
3 12 33 2 8 21;
3 12 33 2 8 20;
3 12 33 2 8 20;
3 12 33 2 8 21;
3 12 34 2 8 20;
3 12 33 2 9 21;
3 12 33 2 8 21;
3 12 33 2 8 20;
3 12 33 2 8 21;
3 12 34 2 8 21;
3 12 33 2 8 21;
3 12 33 2 8 20;
3 12 33 2 8 21;
3 12 33 2 8 21;
3 12 3... |
c681d6a22457109f8ef8b6e33909fe053be88ad6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH28/EX28.9/Ex28_9.sce | be4ebced7ccf1a1f314fd850cb83445720ee4a42 | [] | 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 | 162 | sce | Ex28_9.sce | clc;
//e.g 28.9
C1=0.001*10**-6;
C2=0.01*10**-6;
L=5*10**-6;
AV=C2/C1;
disp(AV);
C=(C1*C2)/(C1+C2)
fo=1/(2*%pi*sqrt(L*C));
disp('MHZ',fo*10**-6,"fo=");
|
20b597c910b5aef572486cdccb6332a87a8c1263 | c884d985cf07964dbaf65b3204ef1bebb38d4f23 | /new_raphson.sci | 9b8dad54f1309d7932189db2ca1907f9294e7fb1 | [] | no_license | mbgaspar/Computacao-cientifica | 710f99c81f2ae342c782584bae2fef666f78f76c | 8168c0bdcaa14cf9d2b57ba34e15fd0833e69ee3 | refs/heads/master | 2021-11-05T01:50:18.159560 | 2021-10-29T12:09:10 | 2021-10-29T12:09:10 | 220,349,256 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,721 | sci | new_raphson.sci | function [raiz, iter]=new_raphson(fun, derivada, es, maxi)
// Cálculo das raizes por Newton-Raphson
// function [raiz,iter]=new_raphson(funcao, derivada, x0, es, it)
// onde raiz é a raiz procurada de funcao
// iter é o n. de iterações realizadas para o erro especificado
// funcao é a função de entrada literal em ... |
c4d8e33a4f9d7a9220c7110480a2abea97e861e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.11/example1_11.sce | 94b6f57aa3b5f0ccdad15afe8382c69d4109d029 | [] | 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 | 524 | sce | example1_11.sce |
//exapple 1.11
clc; funcprot(0);
// Initialization of Variable
pi=3.14159;
theta=-8-30/60;
H=322;//hour angle
delta=50;
//in triangle ZPM(figure in book)
PZ=(90-delta)*pi/180;
H=2*pi-H*pi/180;
PM=(90-theta)*pi/180;
ZM=acos((cos(PZ)*cos(PM)+sin(PM)*sin(PZ)*cos(H)));
alpha=pi/2-ZM;
disp(alpha*180/pi,"al... |
9511558d2767b058b2f72113884fb6389ca89c2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH9/EX9.2/Ch09Ex2.sce | f406affa91c0c8fd8f3ac72bebeddc4cf82bb002 | [] | 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 | 528 | sce | Ch09Ex2.sce | // Scilab code Ex9.2: Pg 307 (2005)
clc; clear;
h_cross = 6.58e-16; // Reduced Plank's constant, eV-s
S = h_cross*sqrt(3)/2; // Spin angular momentum, eV-s
S_z = h_cross/2; // Z-component of spin angular momentum, eV-s
theta_up = acosd(S_z/S);
theta_down = acosd(-S_z/S);
printf("\nFor up spin state, the... |
30df373bd785bbb536b927fd4e370ee525eb2799 | 28f88c035b368ddbe3efd8f5dbf48f01496d1ad0 | /lab1/Xor.tst | 578512e7d76abfa69caab51878c669d0a434beaf | [] | no_license | sandeepkasimalla/Computer_System_Design_CS4110 | 46c06acd04c7b0477ff37b76d127c15f005feb9b | 79d89db0b19f18b9a337fd8e18926114959c5323 | refs/heads/master | 2020-07-11T22:45:14.966087 | 2019-11-21T18:46:33 | 2019-11-21T18:46:33 | 204,659,866 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | tst | Xor.tst | load Xor.hdl,
output-file Xor.out,
compare-to Xor.cmp,
output-list ip1%B3.1.3 ip2%B3.1.3 out%B3.1.3;
set ip1 0,
set ip2 0,
eval,
output;
set ip1 0,
set ip2 1,
eval,
output;
set ip1 1,
set ip2 0,
eval,
output;
set ip1 1,
set ip2 1,
eval,
output;
|
d045e7d31cf01ba3ac4bab77f55cabc03d77ddf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /803/CH3/EX3.2/ex3_2.sce | 5f53801deffbc6e7eab236266f5b13c838450643 | [] | 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 | 177 | sce | ex3_2.sce | clc
vr=20*1.852*(1000/3600);..//target radial speed
f=10^9;..//base frequency
c=3*(10^8);
lamda=(c/f);
fd=2*(vr/lamda);..//doppler speed
disp("Hz",fd,"Doppler Shift is")
|
08918ee173d084206b21d1bbebb8f8c98b7daf1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH5/EX5.25/5_25.sci | 735a57d645e550fa72ccd70dbee2caa9c18a9ce1 | [] | 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 | 234 | sci | 5_25.sci | // Calculating the sensitivity and maximum output voltage
clc;
Se_thermocouple=500-(-72);
disp(Se_thermocouple,'Sensitivity of thermocouple (micro V/degree C)=')
Vo=Se_thermocouple*100*10^-6;
disp(Vo,'maximum output voltage(V)=') |
4be3a171649a1d47ea0305157a844c92f2f1fcb5 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/scicos/getorigin.sci | 7884ba83ba5ae0bfd86558be5efbe13704f6ce05 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | 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 | 75 | sci | getorigin.sci | function [x,y]=getorigin(o)
execstr('[x,y]='+o(5)+'(''getorigin'',o)')
|
177ce8eea632cee6fae87bca0dcf86310bfc6d47 | 856429599e37bd3e8adecb62584b9f337d9f5d22 | /MIGRACION/CONF_COASEGURO/02_test_Mig_Companias.tst | d7d8de4a925c6847627a858d8c61a5d22e7ce557 | [] | no_license | aldemarg911/conf_migra | ad3016defa7d79b26403dc599c688565191b0f94 | 639c31819afa35bb32758a5d31355872b3f9930c | refs/heads/master | 2021-05-14T07:19:19.473261 | 2018-01-26T18:29:17 | 2018-01-26T18:29:17 | 116,261,125 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,123 | tst | 02_test_Mig_Companias.tst | PL/SQL Developer Test script 3.0
77
-- Created on 27/07/2017 by HGOMEZ
declare
-- Local variables here
num_err NUMBER;
v_error BOOLEAN := FALSE;
v_error_i BOOLEAN := FALSE;
v_ccompani companias.ccompani%TYPE;
--
l_mensajes t_iax_mensajes;
--
CURSOR lc_... |
5a315df55895657b1a0af64e4871e79ee5bde474 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH8/EX8.18/example8_18.sce | c4fc267107397a4e3a09980fad8b6ab95f19a8bf | [] | 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 | example8_18.sce | //clc()
P = 101.3;//kPa
Td = 303;//K
Tw = 288;//K
//using psychometric chart,
Y1 = 0.0045;//kg water/ kg dry air
PY = 18;//%
Theated = 356.7;//K
Cb = 1.005;
Ca = 1.884;
Cs = Cb + Y1 * Ca;
Q = 1 * Cs * (Theated - Td);
disp("kg water/ kg dry air",Y1,"(a)Humidity of the initial air = ")
disp("%",PY,"(b)Percen... |
82397525f00851b0695aff052c838b0dd19939ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH22/EX22.3/22_3.sce | 0843fc181267c7da80d906654bb107a3f597da31 | [] | 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 | 825 | sce | 22_3.sce | //clc()
//f(x) = 0.2 + 25*x - 200*x^2 + 675*x^3 - 900*x^4 + 400*x^5
// for using two point gauss legendre formulae, the intervals have to be changed to -1 and 1
//therefore, x = 0.4 + 0.4 * xd
//thus the integral is transferred to
//(0.2 + 25*(0.4+0.4*x) - 200*(0.4 + 0.4*x)^2 + 675*(0.4 + 0.4*x)^3 - 900*(0.4 + 0.... |
0a6bd0f1e7a42d611d40663a901e933c8967ee2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH8/EX8.1/example_8_1.sce | 1aca454b4a1cb9897ed369c4ad66ee0282ba9a58 | [] | 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 | 681 | sce | example_8_1.sce | //Chapter 8
//Example 8.1
//page 300
//To determine the change in the frequency
clear;clc;
f=50;
H=5e3;
KE=H*100*1000; //K.E stored in the generator
PI=50e6; //power input to generator before the stem valve is closed
EE=PI*0.4 ; //Excess energy input to the rotating parts
fnew=f*((KE+EE)/KE)^0.5; //frequency at the end... |
d45a6342e8ab47583793d9b71c8092347a7f0d92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH14/EX14.7/14_7.sce | bccf8463a280090b02dbf41f53ad8a40b5721ddf | [] | 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 | 72 | sce | 14_7.sce |
ksine=1.11
ksqr=1
err=(ksine-ksqr)/ksqr*100
disp("percent",err)
|
65bcdbd75c1a8603e9d75752f33fa87143370b66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH3/EX3.30/example_30.sce | 5ae626691822faab4e3db46864b385b1fe1b92b7 | [] | 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 | 487 | sce | example_30.sce | clc
clear
printf("example 3.30 page number 118\n\n")
//to find the heat of combustion
delta_n = 10-12; //mole per mole napthanlene
//basis 1g
moles_napthalene = (1/128);
disp('part 1')
Qv = 40.28 //in kJ
Qp = Qv-(delta_n*moles_napthalene*8.3144*298/1000);
printf("heat of combustion = %f kJ\n\n",Qp... |
78a0538caafe99a0a8527d3e6061f5bd45083465 | 8cf6372d3b1745aa382131f243c0d4097a0b937f | /proj1/Drinks.tst | 122732746677db7e5f9d27c79bf3685d3b1591ea | [] | no_license | s9v/CS492-Nand2Tetris | 8da5f1899dec3f93374d41d0b5954620fabc4f50 | f1491d2b128aa45f1c55e3d16c091496fc54b833 | refs/heads/master | 2021-09-15T10:07:08.791830 | 2018-05-30T08:46:34 | 2018-05-30T08:46:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | tst | Drinks.tst | load Drinks.hdl,
output-file Drinks.out,
output-list wine%B3.1.3 water%B3.1.3 juice%B3.1.3 cond1%B3.1.3 cond2%B3.1.3 cond3%B3.1.3 ;
set wine 0,
set water 0,
set juice 0,
eval,
output;
set wine 1,
set water 0,
set juice 0,
eval,
output;
set wine 0,
set water 1,
set juice 0,
eval,
output;
set wine 1,
set water 1,
set ... |
b491a5c2c919337747f39f8d81c1a26aefbccbdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH42/EX42.10/42_10.sce | ad5e4a60a85e7669b1bf855c06fecd57d7f842cc | [] | 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,437 | sce | 42_10.sce | //Problem 42.10: The current input to a filter section is 24/_10° mA and the current output is 8/_-45° mA. Determine for the section (a) the attenuation coefficient, (b) the phase shift coefficient, and (c) the propagation coefficient. (d) If five such sections are cascaded determine the output current of the fifth st... |
6a20f096658fc21db53f70bb60191a2abfffbb78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3774/CH9/EX9.7/Ex9_7.sce | 0adbaae087c967b2167813c73d847732fe45f3d2 | [] | 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 | 681 | sce | Ex9_7.sce | // exa 9.7 Pg 267
clc;clear;close;
// Given Data
two_beta=30;// degree
W=400*10**3;// N
d=100;// mm
p=12;// mm
mu=0.15;// coefficient of thread friction
dm=d-p/2;// mm
dc=d-p;// mm
l=2*p;// mm
alfa=atand(l/%pi/dm);// degree
mu_e=mu/cosd(two_beta/2);// virtual coefficient of friction
fi=atand(mu);// degree
Tf=W*dm/2*... |
236cd8c5c3954d939c433cbe6dd1b67b3a25cb1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH14/EX14.6/6.sce | d327a80a7d057702af04365ca7becdb788b751b8 | [] | 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 | 478 | sce | 6.sce | clc
cpw=4.18; //kJ/kg
disp("(i) Quantity of ice produced")
t=20; //0C
L=335; //kJ/kg
capacity=280; //tonnes
Q1=cpw*t + L; //Heat to be extracted per kg of water (to form ice at 0°C)
Rn=capacity*14000; //kJ/h
m_ice=Rn*24/Q1/1000;
disp("Quantity of ice produced in 24 hours =")
disp(m_ice)
disp("tonnes")
... |
20dfef34ecfe9a3129f03f4a10843dfbf5cf057c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH3/EX3.3/Ex3_3.sce | 1b761a17a3d54567261edafbbcceaf228e6554d7 | [] | 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 | 622 | sce | Ex3_3.sce | // Chapter 3 example 3
clc;
clear;
// Variable declaration
ur = 90; // relative permeability
n = 300; // turns per m
i = 0.5; // current in amp
d = 10*10^-3; // diameter of iron rod
l = 2; // length of iron rod
// Calculations
V = %pi*(d/2)^2 * l ... |
8e45a2fe545957d98f3f6bc0a8438528fc71d21a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH3/EX3.a.05/Ex3a_a_5.sce | 8719ee4b63ba8a3f949a87b96d9cc3b0b0d26237 | [] | 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 | 877 | sce | Ex3a_a_5.sce | // Scilab Code Ex3a.a.5: Page-135 (2008)
clc; clear;
phi1 = 0; // Phase of the first SHM, degree
phi2 = 60; // Phase of the second SHM, degree
phi3 = 90; // Phase of the third SHM, degree
a1 = 1.0; // Amplitude of the first SHM, cm
a2 = 1.5; // Amplitude of the second SHM, cm
a3 = 2.0; // Ampli... |
7dfb752658d6f924217849c012b8e1e90d2d4dc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH6/EX6.2.1/ques2_1.sce | d74452da1c56e0d08f73fa28a7187443b73ad474 | [] | 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 | 94 | sce | ques2_1.sce | //ques1
disp('definite integral');
syms x
f=integ((cos(x))^6,x,0,%pi/2);
disp(float(f));
|
ffa9547add33f87ac318069a0a0918a70c6947aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH3/EX3.16/MS_16.sce | f1608fb95a82002efd943926eaefebabb1fa9868 | [] | 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 | 195 | sce | MS_16.sce | // sum 3-16
clc;
clear;
D=22;
d=20;
r=1;
K=2.2;
sigmax=130;
sigmax=sigmax/K;
Z=%pi*d^3/32;
M=sigmax*Z*10^-3;
// printing data in scilab o/p window
printf("M is %0.3f Nm ",M); |
096bb5c5ba6cd6e4f6897caea8d4a445721f1970 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/pei_tseng_notch.sci | 1de0fcd352d18f34c7d34667eadf1d5ac91c0d06 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,284 | sci | pei_tseng_notch.sci | function [b, a] = pei_tseng_notch (frequencies, bandwidths)
//Return coefficients for an IIR notch-filter.
//Calling Sequence
//[b, a] = pei_tseng_notch (frequencies, bandwidths)
//b = pei_tseng_notch (frequencies, bandwidths)
//Parameters
//frequencies: filter frequencies
//bandwidths: bandwidths to be used with fil... |
2f726b3c788401ec0de2ea6de72eb4e78dcfb1bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH1/EX1.23/chapter1_23.sce | 78d95719d713e95ebe66631715931862fae41ece | [] | 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 | 789 | sce | chapter1_23.sce | //example1.23
clc
disp("The branch currents are shown in the fig 1.93(a)")
disp("Applying KVL to the two loops,")
disp("-2(I1)-5(I2)+12=0")
disp("i.e 2(I1)+5(I2)=12 ..(1)")
disp("-4(I1-I2)-6(I1-I2)+5(I2)=0")
disp("i.e -10(I1)+15(I2)=0")
disp("Solving equation (1) and (2),")
disp("2(I1)+5(10/15)(I1)=12")
... |
bf2d5e5cd8e3ed1c614cffc219d4be6e0ddf755c | e0f8f5b90758e1d2d3d75342630b61dd6a34acce | /resRet.sci | 2f46491ae34907c2dcbe86d5bb013125be16193d | [
"MIT"
] | permissive | gilvandrocesardemedeiros/ComputacaoNumerica | 6dbf5ab06d34b3a29456508c994fbc3c1ceb47c8 | 13045eaaa847a5fc01707c66f530b21c096e4ff4 | refs/heads/master | 2020-04-04T17:17:19.928386 | 2019-07-14T19:03:49 | 2019-07-14T19:03:49 | 156,114,630 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sci | resRet.sci | function [X] = resRet(A,b)
[l,c] = size(A)
for i = l:-1:1
valor = 0
for j = c:-1:i+1
valor = valor + A(i,j)*X(j)
end
X(i) = (b(i) - valor)/A(i,i)
end
endfunction
|
b4bbf97b627ee84bc715ffa995e3ec510f28132b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH20/EX20.5/example20_5.sce | 99e94589e5391a4ad7a1a13e31032c43fe7c2345 | [] | 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 | 271 | sce | example20_5.sce | clc
// Given that
V = 10e3 // voltage in V
i = 2e-3 // current in amp
// Sample Problem 5 on page no. 20.8
printf("\n # PROBLEM 5 # \n")
printf("Standard formula used \n ")
printf("1/2*m*v^2 = eV \n")
v = 0.593e6*sqrt(V)
printf("\n Velocity of electron is %e m/sec.",v)
|
dc82eca57007974aeea766eea5384914009b60f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH1/EX1.3/Ex1_3.sce | 781780c9ee38a302ae8be5411887409ebca43b43 | [] | 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 | 603 | sce | Ex1_3.sce | // Chapter 1 Example 3
//==============================================================================
clc;
clear;
//input data
f = 1.5*10^6; //frequency of ultrasonics in Hz
d6 = 2.75*10^-3; // distance between 6 consecutive nodes
//Calculations
d = d6/5; // di... |
fdb8e9cb80680b8554d4575ec79df4a569ad5f5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH5/EX5.2/Ex5_2.sce | 38a4848382afea7f18949f393b5c75f2f10bf2f8 | [] | 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 | 400 | sce | Ex5_2.sce | clc;clear;
//Example 5.2
//given data
Dtank=3*12;//in inches
Djet=0.5;
h0=2;
h1=4;
//constants used
g=32.2;//in ft/s^2
//calculations
//min - mout = dmCV/dt
//mout = p*(2*g*h*Ajet)^2
//mCV = p*Atank*h
//from these we get dt = Dtank^2/Djet^2 * (dh/(2*g*h)^2)
t=integrate('Dtank^2/Djet^2*(1/sqrt(2*g*h... |
69c6400398176a3a7500337dadee887781e0ef4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/CH8/EX8.9/Problem9.sce | 2c34220a44ae92940b2d021e342afc7717fb4ea6 | [] | 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 | 952 | sce | Problem9.sce | //Caption: Develop a perceptron AND function with bipolar inputs and targets
//Problem 9
//page441
close;
clear;
clc;
X1 = [1,-1,1,-1]; //X1 and X2 are input vectors to AND function
X2 = [1,1,-1,-1];
//b = [1,1,1,1]; //Biasing vector
T = [1,-1,-1,-1]; //Target vector for AND function
W1 = 0; //Weights are ... |
0dfe5cc66da665fd6c837b20395dda5e3f4ed167 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH10/EX10.1/ch10_1.sce | e35b2be6f765604730455513b7d9f5ae395304b0 | [] | 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 | 739 | sce | ch10_1.sce | // To determine the total power , active and reactive , supplied by the generator and the p.f at which the generator must operate .
clear
clc;
V=1;//voltage (p.u)
Pa=.5;//active power at A (p.u)
Pr=.375;// reactive power at A(p.u)
Xca=0.075+0.04;// reactance between C and A
Pl=((Pa^2)+(Pr^2))*Xca/(V^2);
pac=1.... |
fa90c821d4fece49bdba3804174f609776824301 | e6d9508e396451df8e97d49189647d523d0061d9 | /TUTORIAL.SCE | 50069e27e0a006033ff6aa5448c0a6b7589ccead | [] | no_license | petervillar/The-Ticket | b88a4f317d7a1a38a93167a315e8d436747c6722 | 05fd25474c0018fa4a3ff11f8e37abda38d805e6 | refs/heads/master | 2020-04-01T05:00:55.670399 | 2018-12-23T23:21:26 | 2018-12-23T23:21:26 | 152,886,523 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 17,478 | sce | TUTORIAL.SCE | ;
; TUTORIAL source file 16/12/18
;
#include symbols.sce
/CTL ;Control Section (null char is an underline)
_
/TOK ;Tokens as supplied with PAW under CP/M
_the_
_you_
_are_
ing_
_to_
_and
_is_
You_
and_
The_
n't_
_of_
_you
ing
ed_
_a_
_op
ith
out
ent
_to
_in
all
_th
_it
ter
ave
_be
ver
her
and
ear
You... |
b7866dd6e5c083ebf9cf45742e70f071a94e2428 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH1/EX1.13/Example1_13.sce | cc281d73648459f78396e0e8a42b0df59b14da83 | [] | 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 | 193 | sce | Example1_13.sce | //Example 1.13
//Program to Compute convolution of given sequences
//x(n)=[1 2 1 1], h(n)=[1 -1 1 -1];
clear;
clc ;
close ;
x=[1 2 1 1];
h=[1 -1 1 -1];
y=convol(x,h);
disp(round(y));
|
a06ff0a6f6ff176a2a68aeed3032bc9ea4d8bfe9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH4/EX4.1/4_1.sce | 6f0bcbb1628415b316e4c3fbb2a839e068b7a8b8 | [] | 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 | 403 | sce | 4_1.sce | //clc();
clear;
//To determine the change in magnetic moment
r=0.052*(10^-9); //radius of orbit in m
B=1; //magnetic field of induction in Web/m^2
e=1.6*(10^-19); //electron charge in C
m=9.1*(10^-31); //mass of electron in kg
A=(e^2)*(r^2)*B;
dmew=A/(4*m);
... |
0779b10b6f68f4dbf40a7ce0b245c3782ffb80dd | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.16_20.tst | 271f052e679c4716e8009926cf5cbc914ccb75f8 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 32,751 | tst | bow.16_20.tst | 16 16:0.25 17:0.047619047619047616 26:0.1111111111111111 28:0.08333333333333333 33:0.5 37:1.0 44:0.2 51:0.125 53:0.4 57:1.0 61:0.5 92:0.2 93:0.5 97:1.0 114:1.0 115:0.07142857142857142 143:1.0 146:1.0 179:0.6666666666666666 201:0.5 225:0.04 270:0.125 291:0.25 345:1.0 383:0.16666666666666666 497:0.4 568:0.5 585:0.3333333... |
6541e28a17f6a2adb690a47e511e65fb2ff67e25 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Revisão P1/SolveU.sce | 0b21a4b3dbffb14e3731b63208c8f55affa6b288 | [
"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 | 390 | sce | SolveU.sce | //Soluciona uma matriz triângular inferior
function [x] = solveU(U,b)
n = size(U,1)
x(n) = b(n)/U(n,n)
for i=n-1:-1:1 //De n-1 até 1 pulando de -1 em -1
x(i) = (b(i) - U(i, i+1:n)*x(i+1:n))/U(i,i)
end
endfunction
//Exemplo
M = [1 2 3 4; 0 5 6 7; 0 0 8 9; 0 0 0 10]
b = [5 4 4 2]'
x = solveU(M,b)... |
948742d004835d186e17a022ce1efb3c8c8b4139 | 332591267a67ee8dd24d7949c1fda10218bf21a9 | /SMTTests/tests/ok_ALL2_logic_8.tst | ab277282a2074fb16b9aba9f198c93b0fcc73ee3 | [] | no_license | OpenJML-SeniorDesign/jSMTLIB | 1914f3c36e7e07733834514edb4cc040354f245d | a109b104f3c294d322de0aa12d2b70b96dcf51f4 | refs/heads/master | 2023-08-27T11:59:47.972797 | 2021-10-20T13:44:16 | 2021-10-20T13:44:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | tst | ok_ALL2_logic_8.tst | ; Using ALL logic with bit-vectors and integers
; 8-bit so as to run much faster
(set-option :produce-models true)
(set-logic ALL)
(declare-fun b () (_ BitVec 8))
(define-fun bb () (_ BitVec 8) (bvneg (bvand (bvneg b) #xf0))) ; rounds up to multiple of 16
(declare-fun n () Int )
(assert (= n ((_ bv2int 8) b)))
(declar... |
b50c800e3a9e59ae0353642edd32c2f06ee0010a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH2/EX2.3/Ex2_3.sce | 2821ad5b1f163a3d4ddb1f59e9f5b920e7dd6cf0 | [] | 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,258 | sce | Ex2_3.sce |
// ELECTRICAL MACHINES
// R.K.Srivartava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 2 : FORCES IN AN ELECTROMAGNETIC SYSTEMS
// EXAMPLE : 2.3
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
F = 35; // Total MMF in Amphere-Turns... |
0b5d3ebf7936428281163c22d9e575637a2eaf42 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH4/EX4.2/Example4_2.sce | 56b3bd276b528fcd9614f7e22daad3405810ed2c | [] | 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 | 268 | sce | Example4_2.sce | //Example 4.2
clc;
clear;
close;
format('v',9);
//Given data :
w=1000;//kg/m^3
h=50/1000;//m
p=w*h;//kg/m^2
p=p*9.81;//N/m^2 or Pa
disp(p,"Pressure Intensity in Pa : ");
alfa=30;//degree
h=50;//mm
l=h/sind(alfa);//mm
disp(l,"Reading in tube in mm : ");
|
9b73aac1e78b8103f9c1eac907c5179a9df4051e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH14/EX14.8/14_8.sce | d5d14d21054646afdbad440e9b67f0ae47fd9c18 | [] | 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 | 158 | sce | 14_8.sce | clc
//initialisation of variables
h= 19500 //Btu
w= 700 //lb/hr
Q= 10240000
//CALCULATIONS
Q1= w*h
e= Q/Q1
//RESULTS
printf ('Efficiency= %.2f ',e)
|
a279b3232135b93cb0bc55397fe994ef4e63f803 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2966/CH1/EX1.3.17/1_3_17.sce | 1a7bf03a89bd770397b157ef999e33a8dd3d6cf7 | [] | 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 | 876 | sce | 1_3_17.sce | //water//
//page 1.17 example 3//
clc
conc_SH=1/1000//in terms of g/lit//
strength_SH=conc_SH*1000//in terms of mgs/lit//
volume_SH=50//in terms of ml//
volume_H=50//in terms of ml//
EDTA_SH=20//volume for Std hardwater(ml)//
EDTA_H=25//volume for sample hardwater(ml)//
AB_EDTA=18//volume required after boilin... |
6aaa0738fd54707cb5b0ff01005455ff71dd9476 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH9/EX9.7/Ex9_7.sce | e44c0e90185214746f88a84486a13f8c1d60780a | [] | 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 | 365 | sce | Ex9_7.sce | clc;
close();
clear();
//page no 319
//prob no. 9.7
//all time in ms
//all frequencies in kHz
W=5;
N=8; //bits
k=19+1; //word
fs=2*W;
mprintf('fs=%i kHz\n',fs);
Tf=1/fs;
mprintf(' Tf=%.1f ms\n',Tf);
Tw=Tf/k;
mprintf(' Tw=%i micro second\n',Tw*10^3);
tau=Tw/N;
mprintf(' tau=%.3f micro second\n',tau*10... |
82661c6e0982b52549b436251ed668213ad4a9a8 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/JP01.prev.tst | 31f8f7368c00af8d0670e494fe96788048863e85 | [
"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 | 620 | tst | JP01.prev.tst | A000000 dex 1 ;mod(;17;3;,;mod);2;mod(;18;10;,;mod);*;+ true 10 mod(17,3) + 2 mod(18,10) A B 0
A074785 dex 0 ;0;log(;log(;2;log);log);- true 10 -log(log(2)) A B 0
A074916 dex 1 ;pi;e;+;2;/ true 10 (pi+e)/2 A B 0
A074921 dex 0 ;pi;e;+;2;/;sqrt(;pi;e;*;sqrt);- true 10 (pi+e)/2-sqrt(pi*e) A B 0
A074948 dex 1 ;sqrt(;pi... |
56ffe1eb721b0fd0ebae3fb9c46ef94e00305dae | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH1/EX1.14.a/example114a.sce | a03938de5e60483c9a28cd18fbc5accce24cf79f | [] | 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 | example114a.sce | //Example 1.14a
clc;
x=[1,2,3,4,0,4,3,2,1]
t=-length(x)/2:length(x)/2
count=0
mid=ceil(length(x)/2)
y=zeros(1,length(x))
y(mid+1:$)=x($:-1:mid+1)
for t=-1:-1:-mid
y(t+1+mid)=x(-t)
end
for i=1:length(x)
if(y(i)==x(i))
count=count+1
end
end
if(count==length(x))
disp('THE GIVEN SY... |
3717c827d27cc786f21cda35cfc1381ff1426868 | 5900f4bae371f44e90fa8de76d746cc470223e04 | /src/define_oil_characteristics.sce | 1577e2f74d19cd3f48cdd93bd88abb61ef9a6785 | [] | no_license | olgerd27/union__gte_reducer_oil | 6400148e100224e0c59c4ca807afa5de07ffcb09 | be994038b218ba7cac13b59faf2391a8e2bdd861 | refs/heads/master | 2021-01-10T20:21:06.558271 | 2014-10-01T06:56:23 | 2014-10-01T06:56:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 16,126 | sce | define_oil_characteristics.sce | // PERFORMING A DEFINITION OF GTE's and OIL's SYSTEMS CHARACTERISTICS
tic;
xdel(winsid());
clear;
stacksize(5e7);
warning('off');
printf("*********************\n");
printf("* START application *\n");
printf("*********************\n");
// Additional definitions for start programm execution
TRUE = %T; FALSE = %F; ... |
446302177e7c7b265c38754b43a75ad38df6aa44 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/mtlb/mtlb_axes.sci | c8948319e393bd8b97a7ad237aa0ec03796b5e79 | [
"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 | 606 | sci | mtlb_axes.sci | function h=mtlb_axes(varargin)
global AXES_T
if AXES_T==[] then AXES_T=list([]),end
win=xget('window')
k=find(AXES_T(1)==win)
if k==[] then
AXES_T(1)=[AXES_T(1);win]
AXES_T($+1)=[]
k=size(AXES_T(1),1)+1
else
k=k+1
end
if size(varargin)==0 then
rect=[0 0 1 1]
xsetech([0 0 1 1])
AXES_T(k)=[AXES_T(k);rect];h... |
8a1e488c6fa01e53731fe0e57a38536aeecd946e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH8/EX8.5/Ex8_5.sce | 280f9c82b117aefe4bc93d6797477bb9c2039f3d | [] | 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,276 | sce | Ex8_5.sce | // Chapter8
// Design a contineously adjusted supply b/w 2V to 5 V
// Page.No-279
// Example8_5
//Figure 8.15.1
// Given
clear;clc;
Vref=7.15; //in V
Vout=5; //in V
//(R1b+R2)/R2=Vref/Vout;
printf("\n For maximum case (R1b+R2)/R2 is = %.2f \n",Vref/Vout); // Result
R2=1; /... |
3b88ed5f35a233b3a9d39e96ba514ff938416444 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH1/EX1.32/Example_1_32.sce | 7dabec262b4a79a334cbd8c6de05a42a88cdfda1 | [] | 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 | Example_1_32.sce | //Example 1.32 10 identical balls are distributed at random into 4 boxes ar marked A B C D
clc;
clear;
N=(factorial(13)/(factorial(3)*factorial(10)));
disp(N,"total no. of possible ways of distribution =");
M= 1;
disp(M,"No. of favourable cases such that 4 boxes contain respectively 2,4,4,0 identical balls =");
... |
4a839fb5d2287e18dff94d48e0bfdb073d1b47f7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/macros/optim/vec2list.sci | f02888e4d2f77e1e410a4d6c590a85d3ffe0b31b | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | 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 | 499 | sci | vec2list.sci | function li=vec2list(bigVector,varsizes,ind)
//bigVector: big vector
//varsizes: k x 2 matrix, varsizes(i,:)=size of ith matrix
//li: list of k matrices, li(i)=matrix of size varsizes(i,:);
[LHS,RHS]=argn(0)
if bigVector=[] then
n=0;for dimi=varsizes',n=n+prod(dimi);end
bigVector=zeros(n,1);
end
li=list();point=1;... |
496fa093559c35c399fc987c2c9364c6a8c2a209 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH2/EX2.13/example2_13.sce | 16a6493bd44dded93402cdb188e681f2ac84bc9b | [] | 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 | 533 | sce | example2_13.sce | clc
// Given that
lambda = 5.89e-7 // wavelength of light in meter
b = 1e-3 // slit-width in meter
// Sample Problem 13 on page no. 2.42
printf("\n # PROBLEM 13 # \n")
m = 1 // for first minima
theta = asin((m * lambda) / b) // calculation for angular spread of the central maxima in radian
theta_ = theta * (180 / %pi)... |
fd42f99876b1bf22f81dded22ad893b7f42af9f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH6/EX6.5.a/6_5_data.sci | b87c78c0aa905f542e24659a31b0e173af688632 | [] | 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 | 184 | sci | 6_5_data.sci | // Aim:Refer Example 6-5 for Problem Description
// Given:
L1=10; //in
L2=10; //in
// Inclination of cylinder axis with vertical axis:
phi=0; //deg
// cylinder load:
F_load=1000; //lb
|
695c3030f56f2c6e25bf105bff412838026e060e | 6a3d6ad5e81b7b8f9d48952cf7390a24ed063653 | /chips/Mux4Way16.tst | 192224d673425fbfefd44f20f1442ed2d236dd59 | [] | no_license | phazel/nand2tetris | 597e98b6f661fa74a724a1f0644e60e9550c9efd | baa9fbfdcd1a87e3d22aeac876e089af104d76f7 | refs/heads/master | 2021-01-09T20:39:26.902012 | 2016-08-01T06:04:10 | 2016-08-01T06:04:10 | 63,301,906 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,213 | tst | Mux4Way16.tst | load Mux4Way16.hdl;
output-file Mux4Way16.out,
compare-to Mux4Way16.cmp,
output-list sel%B1.2.1 a%B1.16.1 b%B1.16.1 c%B1.16.1 d%B1.16.1 out%B1.16.1;
set sel %B00,
set a %B0000000000000000, set b %B0000000000000000,
set c %B0000000000000000, set d %B0000000000000000,
eval, output;
set sel %B01,
set a %B000000000000000... |
2c61c8e3ff3b8b409fbadd556aeccc85bc658fd6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH20/EX20.7/EX20_7.sce | 7016d8fb2cfe50a0f38e294bb4978fb5d48d736a | [] | 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 | 899 | sce | EX20_7.sce | clc;funcprot(0);//EXAMPLE 20.7
// Initialisation of Variables
FAD=14;...........//Free air delivered in m^3/min
p1=0.95;.........//Induction pressure in bar
t1=305;........//Induction temperature in K
p2=7;...........//Delivery pressure in bar
n=1.3;...........//Adiabatic index
VcbyVs=0.05;........//Ratio of cle... |
b39bf70aa4c36d9b6886069857edaefd1064ea45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH8/EX8.49/ch8_49.sci | fa9539fe0f2c0ad019cd248c74d4f6441d201b19 | [] | 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 | 521 | sci | ch8_49.sci | //find no load freq setting,sys freq,at no load freq of swing generator, system trip freq
clc;
loadtot=260;
r=125;
pf=.84;
genfl=r*pf;
sld=75; //supply load
n=3; //no of generators
ls=loadtot-n*sld;
m=-5/genfl;
f=50;
ff=f-m*sld;disp(ff,'set freq(Hz)');
c=f-m*ls;disp(c,'set freq(Hz) supplied from swi... |
0e6f0e397b9d6df86e6f32a1133703e1513f8711 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH6/EX6.11/11.sce | ab867ae057dd7a400ebec407fe653c7cd267af7a | [] | 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 | 341 | sce | 11.sce |
//Variable declaration
epsilon0=8.85*10**-12;
epsilonr=1.000435; //dielectric constant of material
N=2.7*10**25; //number of atoms(per m**3)
//Calculation
alpha_e=epsilon0*(epsilonr-1)/N; //electronic polarizability(F m**2)
//Result
printf('electronic polarizability is %0.3f *10**-40 F m**2 ... |
6307adf15d041ba77f48dd1024edd7e61bdd2ef6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH4/EX4.16/ex4_16.sce | 1487b6f78b4a00886dba57752408aea543b4e24e | [] | 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 | 312 | sce | ex4_16.sce | clc;
eo=8.85*10^-12; //constant
o=80*10^-6; //surface charge density in c/ square
r=1.2; //in m
q=o*(%pi)*(r^2); //calculating charge in Coulomb
fi=q/eo; //calculating electric flux
disp(q,"Charge in Coulomb = "); //displaying result
disp(fi,"Electric flux in N m square/c = "); //displaying result |
d0f1374a9478ca754c5eb0b2d8ab4cb2edc044b9 | 730525102bab797ddfaddb04578a0ce3959cddb9 | /Data/elec/ele2-4-1056-3.tst | 77f4e0d695e70e074e1d053e4a2d98211ee0e6cf | [] | no_license | youndoldman/FuzzyEnergy | 974660a390b30c83aa8ea218ef4d29c6fcdcebdd | 22edd4553702a9ede49bca68ef1aea584a3c8a52 | refs/heads/master | 2021-06-21T02:54:57.234859 | 2017-08-10T19:26:15 | 2017-08-10T19:26:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,765 | tst | ele2-4-1056-3.tst | 6.500000 5.850000 64.980003 97.500000 5113.729980
0.500000 0.300000 3.330000 2.500000 179.169998
0.700000 0.210000 2.300000 1.400000 133.270004
2.000000 1.200000 13.320000 10.000000 732.409973
3.000000 0.900000 9.990000 6.000000 499.600006
2.000000 0.60000... |
e95aabc3e9d828cbef4275daf3efb36ad23606cc | 81edb62eb260102a7f9e6db9065204b5aa0333e0 | /ACSO/Add32.tst | ee24629a1aae115af9afd51e1ac9d84a55afb228 | [] | no_license | Stilink/ACSO | e6531e16b8400b147764887698d732ff4269d9fe | 17eea5288f395bf202f3c1c28c9003df3c78dc81 | refs/heads/master | 2020-04-16T19:57:14.333374 | 2019-05-17T02:18:27 | 2019-05-17T02:18:27 | 165,880,362 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,432 | tst | Add32.tst | load Add32.hdl,
output-file Add32.out,
compare-to Add32.cmp,
output-list a1%B1.16.1 a2%B1.16.1 b1%B1.16.1 b2%B1.16.1 sum1%B1.16.1 sum2%B1.16.1;
set a1 %B0000000000000000,
set a2 %B0100001101001100,
set b1 %B0000000000000000,
set b2 %B0100100001001000,
eval,
output;
set a1 %B1111111111111111,
set a2 %B00111... |
588fa9fb21b9844c7af1ffffb6edfe4d32fea19d | 8b2aadfe2dd241d882213436738542d3f65f4e17 | /ModuleTonalitéSynthèse/Module Synthèse/Scilab/test.sci | 32ed6bd2c5ddc37437fe1538a0913e8cdb5a05d6 | [] | no_license | ahmed-bensaad/FMTM | c764c3162ac6f24f7caa2d0fd99725d4c458efc6 | 66fd7a477e3addb5a0c3a4d7489daa09fb9c5042 | refs/heads/master | 2021-09-02T11:04:05.660173 | 2017-02-06T21:54:09 | 2017-02-06T21:54:09 | 115,977,485 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sci | test.sci | function []=test()
t=[0:0.1:8];
y=[0:0.1:8];
n=length(y);
for i=1:n
y(i)=enveloppe_basse(1,t(i),0.01);
end
plot(t,y);
endfunction
|
7498b89726f8d9bea64a092c0415a7ab29def904 | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r38/packages/hephys/cvit.tst | bd2e721e34ebf259caedc4395869f76f7e404eb7 | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 3,562 | tst | cvit.tst | % Tests of Cvitanovic Package.
% COPYRIGHT (C) 1990, INSTITUTE OF NUCLEAR PHYSICS, MOSCOW STATE UNIV.
% CVITBUBLE TEST OF CVITANOVIC PACKAGE
% AUTHOR A. KRYUKOV, ARODIONOV, A.TARANOV
% VERSION 1.1
% RELEASE 18-SEP-90
index j1,j2,j3,j4,j5,j6,j7,j8,j9,j0;
vecdim n$
% Tests of the weels wi... |
b0206e827dd159dbb412da790f41e0ef444e3784 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH12/EX6.12.5/Ex6_12_5.sce | bd1c6e30d690f5b4b1de916df3e6285c43d3df10 | [] | 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 | 361 | sce | Ex6_12_5.sce | //Section-6,Example-1,Page no.-P.35
//To calculate the total volume of mixture of 50gm of ethylalcohol and 50gm of water at 25degree Celcius.
clc;
n_1=50/46 //Moles of C_2H_5OH
n_2=50/18 //Moles of H_2O
V_1=55 //Volume of C_2H_5OH
V_2=18 //Volume of H_2O
V=(n_1*V_1)+(n_2*V_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.