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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aa7bb0e7b4630c8653f354d54ba2a71104dfa83f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH6/EX6.11/Ex6_11.sce | 926d93da0bd91dbd0a370a86f158cacaa7b587f5 | [] | 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 | 475 | sce | Ex6_11.sce | clc;
close();
//page no 201
//prob no. 6.11
//All voltage in V
function {As]=sideband_amplitude(m,A)
As=m*A/2; //As:sideband amplitude
//m:modulation factor
//A:carrier amplitude
endfunction
A=10;
m=0;
disp(sideband_amplitude(m,A),'(a) For m=0, sideband amplitude is ');
m... |
87f8071830aab0afaf44cbe1d9219a014b32dddc | 485d12352540751c6df0586faf03ec5acad68a98 | /CSCE 312/nand2tetris/P4Codes/lcd.tst | 4bfe550861c84a8b299491d86d4eb36c6bc03fa9 | [] | no_license | vidhurpotluri/TAMU-CSCE | 690988634ed4d90f2856cd96246ad22b55362d91 | 3edc09790413c2a3290348591c9be6ac192ff53d | refs/heads/main | 2023-06-30T11:42:09.989814 | 2021-07-28T22:32:02 | 2021-07-28T22:32:02 | 390,512,025 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 906 | tst | lcd.tst | load lcd.hack,
output-file lcd.out,
compare-to lcd.cmp,
output-list RAM[0]%D2.6.2 RAM[1]%D2.6.2 RAM[2]%D2.6.2;
set RAM[0] 9,
set RAM[1] 6,
set RAM[2] 0,
repeat 400 {
ticktock;
}
output;
set PC 0,
set RAM[0] 11,
set RAM[1] 21,
set RAM[2] 0,
repeat 1000 {
ticktock;
}
output;
set PC 0,
set RAM[0] 18,
set RAM[1] 66,
s... |
634637e694c51c015be73f62c58305a92aa80f90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH6/EX6.11.3/Ex6_3.sce | e9d8f00de46d7f4e1d5cd455a228f3c8f62d0a07 | [] | 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 | 563 | sce | Ex6_3.sce |
//scilab 5.4.1
//windows 7 operating system
//chapter 6:Diode Circuits
clc;
clear;
//given data
Rf=50; //forward resistance in ohms
Rl=2500; //load resistance in ohms
Vp=30; //Primary input V(rms)
Vm=30*sqrt(2);
Im=Vm/(2*Rf+Rl); //peak load current in A
Idc=2*Im/%pi;
Vdc=Idc*Rl; //DC load vol... |
2a6a08f6900a6c55895b34779dbf12d5ccba84a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH18/EX18.6/S_18_6.sce | ec68e9cd483c1965f1ae4d2ad47afcb5722444f9 | [] | 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,110 | sce | S_18_6.sce | clc;
m=300;//g, mass of each rod
mom=1/1000;//given mo/m
vo=2000;//m/s, relative velocity
wo=60;//rpm
wo=wo*2*%pi/60;//rad/s, conversion
a=800;//mm, radius of disk
a=a/1000;//m, conversion into meter
//By theorytical work we get
wx=-4/5*mom*vo/a;//rad/s , x component of angular velocity
wy=0;//rad/s , y comp... |
44f3a650517e64d56018be39135422acb233acd7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH9/EX9.6/Example9_6.sce | d9f36b4f51a6954210bba2529dd1574863015c42 | [] | 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 | 275 | sce | Example9_6.sce | //chapter-9,Example9_6,pg 503
fc=100*10^6//clock frequency
Nm=4*10^6//memory size
Te=(1/fc)//timing uncertainity
Tm=(Nm/fc)//measurable time
printf("timing uncertainity\n")
printf("Te=%.11f s\n",Te)
printf("measurable time\n")
printf("Tm=%.4f s",Tm)
|
2c185bb06d50dffe7d95070a803a609a465f0d3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH11/EX11.1/Example_11_1.sce | 40a1e4cfb5ae65ca56ba44da07dce5ebdcbd721c | [] | 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,261 | sce | Example_11_1.sce | //Chapter 11
//Example 11.1
//Page 280
//linecurrents
clear;clc;
//Given
I_a = 10 * (cos(0) + %i * sin(0));
I_b = 10 * (cos(180 * %pi / 180) + %i * sin(180 * %pi / 180));
I_c = 0;
a = 1 * (cos(120 * %pi / 180) + %i * sin(120 * %pi / 180));
//Phase 'a'
disp('Phase a')
I_a0=(1/3)*(I_a+I_b+I_c);
I_a1=(1/3)*(I_a+a*I_b+a^2... |
1590b1bcabca63d99ae623cb03a2c32b43e5f7bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH7/EX7.4/Ex7_4.sce | e734fe8e96410208cad1e201f030ec7ac0c490dc | [] | 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 | 262 | sce | Ex7_4.sce | clc
//
//
//
//Variable declaration
c=3*10**8
f=3*10**11
E0=50
//Calculations
lambdaa=(c/f)
B0=(E0/c)*10**7
//Result
printf("\n The Wavelength is %0.3f m or 10**-3 m",lambdaa)
printf("\n The Amplitude of the oscillating magnetic field is %1.2f *10**-7 T",B0)
|
aa5362dd1186644093546b1e8e162f8ea6dd07ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH3/EX3.46/Ch03Ex46.sce | eb8485c7653641a3c710f4a1108730c0e5cba2e6 | [] | 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 | 424 | sce | Ch03Ex46.sce | // Scilab Code EX3.46:: Page-3.59 (2009)
clc;clear;
lambda = 5461e-008; // Wavelength of light used, cm
d = 4e-005; // Separation distance between two self-luminous objects, cm
NA = 1.22*lambda/(2*d); // Numerical aperture of microscope, cm
printf("\nThe numerical aperture of the objective of the microscopes ... |
fdfdb8dc3f029e95360b9fdead0f1dc4adb198c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH4/EX4.5/4_5.sce | 0d2e74ab5a38095f59c675c9ba3114409ad842f5 | [] | 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 | 4_5.sce | clc
//initialisation of variables
a=4404//ft
q=9//ft
mu=12//ft
//CALCULATIONS
F=sqrt(a/q)//ft
CF=F/mu*100//percent
//RESULTS
printf('the coefficient of fluctuation is =% f percent',CF)
|
919747c5b0c11da158784bb3ea80aad5ddb8a45f | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH4/EX4.3/Chap4_Ex3_R1.sce | dd983af6de261900e0d450f2ed96e817708c97b6 | [] | 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,642 | sce | Chap4_Ex3_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-4,Example 3,Page 96
//Title:Final temperature and final pressure
//================================================================================================================
clear
clc
//INPUT
V=1;//vol... |
a999735ad8daf067bcdace6b4f7993a3b62eb5ee | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/diffuse_rel/diffuse/newtempmulticonc.sce | 06c95a95788bbc1c944a941b9a73e66d6c66859b | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 830 | sce | newtempmulticonc.sce |
function [newtempmulticonc]=newtempmulticonc(nsubsteps, nspecies, concm, n1, n2, n3,t0,t,h,dif,sourcesm,sinksm,inconsts)
//cycle over each element of the array
//update concentration
rconsts=0;
nconcm=zeros(n1,n2,n3,nspecies);
ddt=dt/nsubsteps;
for kk=1:nsubsteps
t=t0+ddt;
//t0=t0+ddt;
for isp=1:nspe... |
c9afccbd3bb3ccffa280ac6a8e3066d3cd963217 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH4/EX4.17/Ex4_17.sce | e81fe08930dae01f65bfc835e6f222a1d6a13f6d | [] | 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 | 497 | sce | Ex4_17.sce | //Variable Declaration
// as we know K = (x-Mean)/std_dev, P(|x-Mean| < K*std_dev) >= 1-(1/(K*K))
K1 = (28-18)/2.5 // Corresponding to 28 customers
K2 = (18-8)/2.5 // Corresponding to 8 customers
//Calculation
// P( 8 < X < 28) >= 1-(1/(K*K))
K = 4 // K=K1=K2
P = 1-(1.0 / (K... |
e1089582778086513e721cbaabebfa87ab0683e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH2/EX2.27/Ex2_27.sce | d02f8430d24335ceb357f86c79ab5106c810bf4a | [] | 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,011 | sce | Ex2_27.sce | clear
//
//
//Initilization of Variables
D=20 //mm //Diameter of Bolts
Di=25 //m //internal Diameter
t=10 //mm //Thickness of bolt
E_s=2*10**5 //N/mm**2 //Modulus of Elasticity
E_c=1.2*10**5 //N/mm**2 //Modulus of copper
p=3 //mm //Pitch
theta=30 //degree
L_c=500 //Lengh of copper
L_s=600 //Length of steel
//Calcul... |
7d36d3b1e0f09b6e2ce4fe9fb3dcdb97521a2a09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH15/EX15.5/15_5.sce | f8d6d28835579c843d92e415c35dd40c8fdd668e | [] | 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,108 | sce | 15_5.sce | //To find linear and angualr velocity and acceleration
clc
//Given:
r=150/1000, l=600/1000 //m
theta=60 //degrees
N=450 //rpm
//Solution:
//Calculating the angular speed of the crank
omega=2*%pi*N/60 //rad/s
//Velocity and acceleration of the slider:
//Calculating the ratio of length of connecting rod and cra... |
90a20f215bb905fdb3f1aa9a0583d7d7c0b85642 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH11/EX11.11/Ex11_11.sce | dd04cd66ba45f2326edfc34f9aafc9657bad07a4 | [] | 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 | 941 | sce | Ex11_11.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 11.11\n\n\n");
// Chapter 11 : Heat Transfer
// Problem 11.11 (page no. 567)
// Solution
//From problem 11.9,
//A bare steel pipe
r2=3.50; //Outside diameter //Unit:in.
r1=3.00; //inside diameter //Unit:in.
Ti=240; //Inside temperature //unit:fahren... |
85e8ff33f56a3649374f2026a4f794dc3f0ebc4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH3/EX3.9.s/3_09_solution.sce | 256158eddb1d49bdacc2cb9449ccbcdacb223d9b | [] | 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 | 905 | sce | 3_09_solution.sce | //Solution 3-09
WD=get_absolute_file_path('3_09_solution.sce');
datafile=WD+filesep()+'3_09_example.sci';
clc;
exec(datafile)
//(a)
s = h_bottom - R; //distance of cylinder top from water surface
F_h = rho * g * (s + R / 2) * R; //horizontal force acting on vericle surface of cylinder
F_y= rho * g * h_bottom * R; //ver... |
ebf99328a295e8a7a9a15b13ee55035f47e4afa0 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH13/EX13.7/Ex13_7.sce | e7e1e3fa2a1083ae9c3c12a9a769c967287305ff | [] | 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 | 143 | sce | Ex13_7.sce | errcatch(-1,"stop");mode(2);//Ex:13.7
;
;
r=12;//in ohms
i=0.5;//in amps
P_r=i*i*r;//in W
printf("Power radiated = %d W",P_r);
exit();
|
9af7556138c657ddda01237bbb7cae43466480a1 | 9d2c9394c6b6997318b9d04556462c9bba639045 | /Replication 2/Dave_RIFData/Dave_RIFData/Sub13/VP13_OneBack.sce | 33a2199750052cfeceebedb6fa85b8bab73f922a | [] | no_license | rettopnivek/Wimber_et_al_replication_3 | 673b156d8d18d58b92b2f05fedef87976e787089 | 8dbc22329093a61b1e5cb8aac3feca45a5c82d06 | refs/heads/master | 2020-12-31T04:42:39.856717 | 2018-02-01T15:49:15 | 2018-02-01T15:49:15 | 58,006,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,885 | sce | VP13_OneBack.sce | array <int> finalSeq[432] = {12,29,22,10,43,52,68,52,9,56,51,58,29,33,59,59,15,68,3,3,10,51,45,11,16,18,15,18,25,62,23,70,70,6,59,34,44,60,60,71,66,54,58,50,33,36,36,66,57,67,67,11,60,45,66,72,50,45,14,21,51,2,61,44,57,31,50,53,35,38,56,47,9,9,17,9,69,12,1,7,58,31,18,37,42,8,36,26,52,63,11,42,42,21,21,26,19,35,26,19,39... |
7cfd432566e0dae09d96a81a60854ef3e3429462 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH11/EX11.4/Ex11_4.sce | e4d18ece78df1053877477c7e915e2714e9ad87f | [] | 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,004 | sce | Ex11_4.sce | // scilab Code Exa 11.4 Calculation on hub,mean and tip sections
dm=50/100; // Mean Blade ring diameter in m
rm=dm/2;
dh=0.3098354; // from results of exa 11.2
dt=0.6901646;
um=100; // peripheral speed in m/s
beta_1m=51;
beta_2m=9;
alpha_1m=7; // air angle at rotor and stator exit
alpha_2m=50.177922;
ome... |
1e839fc7d2acf77405e895e0acad5f69c6855054 | ffe9e19b244ceec2af7b863d956d8dbdc079103b | /Matemática Computacional II/8170312/slides-spline_linear.sce | 413450a302e7ab5dc812bac15cf601a2f8a2a89d | [] | no_license | Vmvs007/ESTG-LEI | 25b67be60f3695f8677be57779dccd0670a8e48e | ae99dd7f6cd57a67cfdc6b1d303a03df3e6e5c69 | refs/heads/master | 2020-05-06T12:28:36.560414 | 2019-04-13T17:02:09 | 2019-04-13T17:02:09 | 180,124,885 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | slides-spline_linear.sce | x=[1 10 20 30 40];
y=[1 30 -10 20 40];
//fazer o gráfico dos dados
plot2d(x',y',[-3],"011"," ",[0,-20,41,50]);
//criar a spline
yi=interpln([x;y],1:40);
//representar a spline
plot2d((1:40)',yi',[3],"000");
|
350a480cdfbefaecf21b5a7c18e9e62db49953ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH6/EX6.2/Ex6_2.sce | b99a19e48abf880dabf02378c3908fb74d09936b | [] | 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 | 254 | sce | Ex6_2.sce | //Chapter 6: Electrochemistry
//Problem: 2
clc;
//Declaration of Variables
T = 25 // C
Cu = 0.1 // M
Zn = 0.001 // M
Eo = 1.1
// Solution
E = Eo + 0.0296 * log10(Cu / Zn)
mprintf("The emf of Daniell cell is %.4f V",E)
|
94abf208380109cb0748074e0454e0f7435b22f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.71/Ex1_71.sce | 08e1ab5fce590b048723dc546827eaa09270b921 | [] | 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,115 | sce | Ex1_71.sce | clc;
P=20; // Rated KVA of transformer
E1=250; // rated primary voltage
E2=125; // rated secondary voltage
r1=0.15; // resistance of primary side
x1=0.25; // leakage reactance of primary side
r2=0.03; // resistance of secondary side
x2=0.04; // leakage reactance of secondary side
// given E1=V1(primary terminal... |
83f56397345b9b6970261696e71d825d16e87d0d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH1/EX1.52/Ex1_52.sce | d2da333ada409ce96cd5c550f28fcc377d9c9542 | [] | 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 | 281 | sce | Ex1_52.sce | errcatch(-1,"stop");mode(2);//Example 1_52
;
;
//To find diameter of 25th ring
dm=0.62 //units in cm
ds=0.3 //units in cm
d25=2*(dm^2-ds^2)+ds^2 //units in cm^2
d25=sqrt(d25) //units in cm
printf("Diameter of 25th ring is %.3f cm",d25)
exit();
|
02c0e98a56d5e28b764be8e97f7f948daac114a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH1/EX1.11/Ex1_11.sce | 11d366356cd3d39b91e0b1a7a81c699beb40e560 | [] | 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 | 827 | sce | Ex1_11.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh,Chapter 1,Example 11")
Patm=90*10^3;//atmospheric pressure in pa
RHOw=1000;//density of water in kg/m^3
RHOm=13600;//density of mercury in kg/m^3
RHOo=850;//density of ... |
70ad0676cceda2552637b7224bec4568a30b8cdd | 9d545f988a80789144df937ce4a90017c378cb92 | /Lab09/sintry.sce | f9e8039ccd4ff80970eb146f8589fb331819f799 | [] | no_license | tshrjn/EE304P | 215dc669daaf372242afe2c1f580a36df26e51ce | ac1c045262dd0b419354d2d22861c734508b7b8e | refs/heads/master | 2021-01-10T03:02:18.270276 | 2015-12-01T02:42:16 | 2015-12-01T02:42:16 | 46,113,211 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 650 | sce | sintry.sce | //xq(find(((q(i)-d/2)<= xq)&(xq<=(q(i)+d/2)))) =
// q(i).*ones(1,length(find(((q(i)-d/2)<=xq)&(xq<=(q(i)+d/2)))));
// en_code(find(xq == q(i)))= (i-1).*ones(1,length(find(xq == q(i))));
fs = 10000;
fm = 100;
time = [0: 1.0/fs : 2.0/fm];
//plot(sin(2*%pi*fm*time));
//plot(time);
n = 8 ;
del = 0.586;
in... |
504f086665ff439fb94f15584c24188fe78a45ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH3/EX3.3/Ex3_3.sce | 99d79a09c83b152d2bf7f3740b94157c5351a51f | [] | 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 | 833 | sce | Ex3_3.sce | // Problem 3.3,Page no.56
clc;clear;
close;
P=800 //N //force applied to steel wire
L=150 //m //Length of steel wire
E=200 //GN/m**2 //Modulus of Elasticity
d=10 //mm //Diameter of steel wire
W=7.8*10**4 //N/m**3 //Weight Density of steel
//A=(%pi*4**-1)*(d)**2 //m**2
//After simplifying Area,we get
A=7.85*10**-5 //... |
acef1b4395a54ceb355ba4aab9878c716258dd20 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rc2lar/rc2lar9.sce | 11775a36c7cc9346effd7985832a58e748168500 | [] | 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 | 141 | sce | rc2lar9.sce | //check o/p when i/p is a vector contataining only zeros
k = [0 0 0 0 0];
g = rc2lar(k);
disp(g);
//output
// 0. 0. 0. 0. 0.
|
018c2e6a53491b2b02c1e7e91586d56ecb8e7c2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH3/EX3.13/Ex3_13.sce | 67e56dbf250ded0bd6561d479a7464715263c869 | [] | 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 | 368 | sce | Ex3_13.sce | clc;
//ex3.13
sigma=100;
rho=0.1;
ni=1.5*10**10;
mun=1300;
mup=500;
ni1=2.5*10**13;
mun1=3800;
mup1=1800;
q=1.602*10**-19;
//concentration of p type germanium
p=sigma/(q*mup1);
disp('/cm^3',p*1,"p=");
n=(ni1^2)/p;
disp('/cm^3',n*1,"n=");
//concentration of n type silicon
n=rho/(mun*q);
disp('/cm^3',n*... |
5ede2f8b2d10555eb728d5884cbfa581ab6ed23a | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Revisão P1/ConversorFloatDecToHex.sce | 39eb5ae8ffa4dfddab7818af830b585e18656c7c | [
"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 | 879 | sce | ConversorFloatDecToHex.sce | function [resultado] = float_dec_to_base(number)
contador = 1
inteiro = int(number)
resultado = dec2hex(inteiro) + '.'
fracionario = modulo(number,inteiro)
while modulo(fracionario,1) ~= 0
fracionario = fracionario * 16
numero = int(fracionario)
numero_s = '0'
... |
908d5c6f880d7be59018dab14f0cf22c4f1120a9 | b829a470efb851fdd8700559c2092711adaa42e0 | /Data/OVI-CV-03-Facenet/CV-Groups/cv-group-114528472700/OVI-Test/cv-group-114528472700-run-03.tst | 248e91b0238509015f4b960eca9b297eb15dcb98 | [] | no_license | achbogga/FaceRecognition | 6f9d50bd1f32f2eb7f23c7ae56f9e7b225d32325 | 165ebc7658228d2cceaee4619e129e248665c49a | refs/heads/master | 2021-07-04T21:47:57.252016 | 2017-08-01T18:53:12 | 2017-08-01T18:53:12 | 96,568,452 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | tst | cv-group-114528472700-run-03.tst | Ahmad\Ahmad_002.jpg
Ahmad\Ahmad_005.jpg
Sima\Sima_007.jpg
Sima\Sima_002.jpg
SungChun\SungChun_017.jpg
SungChun\SungChun_019.jpg
Kiran\Kiran_006.jpg
Kiran\Kiran_007.jpg
Allison\Allison_001.jpg
Allison\Allison_004.jpg
Amit\Amit_010.jpg
Amit\Amit_006.jpg
Gang\Gang_008.jpg
Gang\Gang_014.jpg
Ethan\Ethan_002.jp... |
ea07b64f328f928f80beaa0d939a2aacb2563d4f | 1ddb37f8e6d2be48d893d9285f426c1e90c33566 | /bin/data/best-method.tst | 2e0c756de3643be479b10b4746d6ae09929c5ba6 | [
"Apache-2.0"
] | permissive | ttykkala/recon | bd0ce04c78c637648cdceed594661b5059ffaf62 | fe73b0f1023ff177e6870ed1426604e380e078b7 | refs/heads/master | 2021-01-13T09:03:55.094792 | 2017-06-24T13:46:41 | 2017-06-24T13:46:41 | 70,162,184 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,299 | tst | best-method.tst | 0001 photometric 246.021400
0030 photometric 242.311200
0060 biobjective-lambda0.75 241.234200
0090 biobjective-lambda0.75 238.771500
0120 biobjective-lambda0.25 234.586800
0150 biobjective-lambda0.75 240.080100
0180 geometric 236.334400
0210 biobjective-lambda0.75 242.573700
0240 photometric 239.412000
0270 biobjectiv... |
0d3da7927428ec333947e301e4c21da180039c3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH8/EX8.9.s/8_09_solution.sce | 1a49189e5cb9ba8452e646b1234835fb6dc8f104 | [] | 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,238 | sce | 8_09_solution.sce | //Solution 8-09
WD=get_absolute_file_path('8_09_solution.sce');
datafile=WD+filesep()+'8_09_example.sci';
clc;
exec(datafile)
//unit conversions
D = D / 100 //from [cm] to [m]
P_1 = P_1 * 10**3 //from [kPa] to [Pa]
//(a)
sumK_L = K_Ltee + 2 * K_Lelbow + K_Lglobe + K_Lshower;
h_L = P_1 / (rho * g) - z;
nu = mu / rho; //... |
2eeaf707a6c2f96ad5208f80ccc764627aa40f0e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/util/%sp_cos.sci | 8536ba6e78bcdad0c8946a6df5b6ce7cf07b217c | [
"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 | 59 | sci | %sp_cos.sci | function sp=%sp_cos(a)
// Copyright INRIA
sp=cos(full(a))
|
f0fdd30b9eba2cde5e1552677ec8ec0675dd9795 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_V._Rajendran_1826.zip/Material_Science_V._Rajendran_1826/CH23/EX23.1/ex23_1.sce | bc31e9c3bffc627eb572f24ea72c18777e7c96cc | [] | 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 | 216 | sce | ex23_1.sce | errcatch(-1,"stop");mode(2);// Example 23.1, page no-625
p_wt=500 //kg
s_req=32/(32+54)
printf("Therefore, sulphur required for %d *10^3 kg of final rubber product = %d * 10^-3 kg",p_wt,s_req*p_wt)
exit();
|
5a7d5ff4afac3025853cab00883f25718e80ee9e | ca10ed224d8cd7295e60f1c02ea92a812038e28e | /Lagranja.sci | 47b8cbcb8475dc3855a6aeab2113eaf4cfc846f6 | [] | no_license | Winchester12/matlab | f0a77c5eeaabe17b2f699468e8b4229ee71789c4 | 662098338d7b0f1a7a9ed9908202ef36c9d7bcbe | refs/heads/master | 2021-05-15T13:51:23.852649 | 2017-10-17T07:44:47 | 2017-10-17T07:44:47 | 107,234,797 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,781 | sci | Lagranja.sci | function w = polynom(n, y, x)
//y = array of znachen
//n = array of vyzliv
//x = tochka v yakiy shukayemo
//prod(..) добуток
p = 0;
for i = 1:length(n)
lb = []
for j = 1:length(n)
if i ~= j then
lb(j) = ((x - n(j))/(n(i) - n(j)));
else
... |
784638001911cf15aad81c7e3f4e2b9c7fa27f75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH1/EX1.33/1_33.sce | 9093cc6afeb47e8caf24c03639230f853a46106a | [] | 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 | 1_33.sce | clc
clear
//Input data
P1=1;//Pressure in an oil gas turbine installation in bar
T1=298;//Initial Temperature in K
P2=4;//Pressure after compression in bar
CV=42100;//Calorific value of oil in kJ/kg
T3=813;//The temperature reached after compression in K
m=1.2;//Air flow rate in kg/s
Cp=1.05;//Specific heat of... |
5a2318fbc441746b0257c16de1621f9fbeab89c0 | 27fecbbeb6c49dcf03b9bddf1b867c31e13a3825 | /Simulações/Relatório 04/questão 02_lucas.sce | 432ff57c3df336b033db031f83fd03f94b25a904 | [] | no_license | LucasHattoriCosta/Poli | 42c9fc2d34c31e01336265fbdac3e4921d56e096 | b1ac609c3675539b4e921909c35ea196ffc44df3 | refs/heads/master | 2023-03-15T12:22:03.745943 | 2020-06-29T17:32:48 | 2020-06-29T17:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,238 | sce | questão 02_lucas.sce | clc
clear
// Definição dos Parametros e Constantes Físicas
ro=0.1 // kg/m
g=9.80 //m/s2
pi=%pi
R=3 //m
c = 0.1
l1=0.5 //m
m1 = 2*l1*ro
alpha = l1/R
L = 2*l1
//Vetor estado inicial E = [theta;velocidade]
E1 = [0,3.64]
// Função ODE
function [z_dot]=deriva1(t, z) //Pega a matriz z e deriva em relação a t
dk_dt= z(2)
... |
bb5c3f74059cb4ef797430898edf7be2875bd590 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/peak2peak/peak2peak12.sce | 73d56cf584ecbfd1957315a84047b48d2ff80ab8 | [] | 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 | 79 | sce | peak2peak12.sce | //check o/p when i/p vector is empty
y=peak2peak([]);
disp(y);
//output
//..[]
|
ad54c9427978b87f5e4a4efbda48dfcfa0306d79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH17/EX17.6/Ex17_6.sce | fb233b38c00ef21fa25c65b8b8d5f315a7a3e39b | [] | 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 | Ex17_6.sce | clc;
r1=10000;
r2=10000;
c1=0.00000001;
c2=0.00000002;
fc2=ceil(1/(2*3.14*(r1*r2*c1*c2)^0.5));
r3=15000;
r4=30000;
c3=0.00000001;
c4=0.00000001;
fc1=1/(2*3.14*(r3*r4*c3*c4)^0.5);
BW=(fc2-fc1);
f0=(fc2*fc1)^0.5;
Q=(f0/BW);
disp('Hz',fc2,"fc2=");//The answers vary due to round off error
disp('Hz',fc1,"fc1=... |
667093cb54d1167c37335d5d48202a40f8097475 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH1/EX1.11/Ex1_11.sce | 55e972e38e421e96d2da55f41be5d0fbd9d086c2 | [] | 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 | 406 | sce | Ex1_11.sce | clc
//to calculate speed
deltat0=1440 //proper time interval measured by an observer moving with the clock (min)
deltat=1444 //time interval measured by a stationary observer (min)
c=3*10^8 //light speed (m/s)
v=c*sqrt(1-(deltat0/deltat)^2)
disp(" moving clock appears to lose 4min in 24 hours from the stationary ... |
c21a5b8fdff0a15a1eb9c1901acd300a5e97a658 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH7/EX7.5.8/exa7_5_8.sce | b3b883b1293c5eb622e01601ffe1b456a2c8663c | [] | 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 | 617 | sce | exa7_5_8.sce | //caption:value_of_K_in_terms_of_T1_and_T2
//example 7.5.8
//page 207
s=%s;
syms K T1 T2;
m=s*(s*T1+1)*(s*T2+1)
G=K/m;
CH=1+G;
disp("on simplyfying CH")
CH=m+K;
CH=simple(CH);
disp('=0',CH,"characterstics_eq,CH=");
c0=coeffs(CH,'s',0);
c1=coeffs(CH,'s',1);
c2=coeffs(CH,'s',2);
c3=coeffs(CH,'s',3);
b=[c0... |
6dc877a861dd92a66a9fe801fcb7d644a1d99c8d | b7fdcdfa28c43800620edd296d2dade512db8550 | /serialREAD.sci | ba7095a590dbbf3c37fc24601212da89d0c5e50e | [] | no_license | mentablack/XCOS-SerialREAD-Block | bdde1276d115782280eb5939048119c43870839b | 8273334bb0479fef9540f48f6decc4ec7f97ed63 | refs/heads/master | 2020-04-27T15:03:04.252144 | 2019-03-08T00:09:38 | 2019-03-08T00:09:38 | 174,430,305 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sci | serialREAD.sci | function y = serialREAD(a)
h = openserial(7, "9600,n,8,1") // open COM7
for ii = 1:a
y = strtod(part(readserialline(h), [1,2,3])) * (a/a)
end
closeserial(h)
endfunction
|
3dcdef8c7d5af21fa6803ff2746582ec876b980f | 858e87eba2421990e4bb02ee2ac7070276bc0259 | /experiments/simple-em-discrete.sci | fbc5e0c3fe65fe90bd32ad3e38f78e4f9c33a0e1 | [
"LicenseRef-scancode-public-domain"
] | permissive | MyFreertosLab/sdrone_test | c649e737128db26ee0902d2b9beca883c0ef5f2a | 919ff6dd3e5d495102f0b16243873f3cb7b4640b | refs/heads/master | 2023-06-15T05:10:19.052455 | 2021-07-16T07:10:39 | 2021-07-16T07:10:39 | 359,063,905 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 731 | sci | simple-em-discrete.sci | m=100;
dt=1/(m);
maxSec=10
Thrust=2200;
b=0.5;
A=[
0, 0, 0;
-1/dt, 0, 0;
-1/dt^2, -1/dt, 0
];
B=[1;
1/dt;
1/dt^2
];
C=[0,0,b/2;0,0,-b/2];
D=[0,1;0,1];
function U = ingresso(amplitude, phase)
T=[1:m*maxSec+1];
P=sin((T-1)*2*%pi/500+phase)*amplitude; // Funzione di ingresso (sinusoidale ... |
2e602ddc8c327c9b15e67d8dadc921d3a8ea2317 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH15/EX15.12/Ex15_12.sce | c20e17a1b2713a198a233b739e946b969816411b | [] | 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 | 366 | sce | Ex15_12.sce | // Initilization of variables
W=10000 // N // Weight of the locomotive
// Calculations
// Consider the various derivations given in the textbook
R_max=W/20 // N // eq'n for max reaction
// The position of occurence of maximum thrust cannot be defined here. Refer textbook for the answer
// Results
clc
printf('T... |
1c516a7d45538c97e606ba06a5c0a013fa5d6774 | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 3/ThirdQuestion.sce | e8b35dc98d2b8a04ec01f1eefdc60d2ff7f91087 | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,016 | sce | ThirdQuestion.sce |
function B = ThirdQuestion(A)
//O usuário entra com a matriz de acordo com os seguintes casos abaixo.
//Os casos são 3x5,5x5 e 5x3
//Depois de calcular a pseudo inversa, o algoritmo printa na tela a respota das operações pedidas na questão de acordo com o caso inserido.
x = input("Selecione o caso... |
eb40290cc69a448132ef9f7fb5106dc167319885 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH2/EX2.20/Ex2_20.sce | 7c4788bb5c2def9b0fa3cdf3c623a3e491d3b94f | [] | 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,762 | sce | Ex2_20.sce |
//Variable Declaration
PI=-1280 //I component of range vector for a satellite(km)
PJ=-1278 //J component of range vector for a satellite(km)
PK=66 //K component of range vector for a satellite(km)
GST=240 //GST(degrees)
LE=48.42 //Latitude(Degrees)
PE=-89.26 //Longitude(Degrees)
H=200 //Height above mean... |
46ec0b2b776ab785e7a14c0e88c81efe7a69734c | 75bbd82f0bfa2040e92161597c5e36931ff7767b | /Arco-tangente.sce | 4fafb6602eae9300daa0adf1478f7c222f0d6825 | [] | no_license | v0ltmx/scilab-MAT | d7da8e73b9d7551c2a00be04d2a2d64e80346c1d | b2f7cdc994ad49d77f90c24393769a5fdcac0568 | refs/heads/master | 2022-01-20T10:00:26.830030 | 2019-07-20T02:42:56 | 2019-07-20T02:42:56 | 197,870,163 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 41 | sce | Arco-tangente.sce | tanm(atanm([1,2;3,4]))
plot(x,sin,(x))
|
4aab5bfa2d9da52456fcc48528ccaec914795749 | c04f5a41550dc954fc2aaed4cf249b522fa92680 | /GaussJordan.sce | d1085edce4598f1fcaf2d1fd49e51b04ed2b4254 | [
"MIT"
] | permissive | miguel-mzbi/NumericMethods | 823a690b48a4d0fbcedd526ea79dce00675a9b75 | 8c26acae37395d6ba3e77fe21619077ca6b3608a | refs/heads/master | 2021-01-09T05:29:58.433274 | 2018-04-26T19:41:07 | 2018-04-26T19:41:07 | 80,778,424 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 634 | sce | GaussJordan.sce | a = input("A = ")
b = input("b = ")
X = [a b]
[rX cX] = size(X)
disp("Augmented matrix before Gauss-Jordan elimination")
disp(X)
for p = 1:1:rX-1
pivote = X(p,p);
for i = p+1: 1: rX
primFila = X(i,p)
X(i,:) = X(i,:) - (X(p, :)/pivote)*primFila
end
end
for i = rX: -1: 2
pivote = X(i, i... |
7197c484efbd8e135daa6f4f05c2b0f2fdbe385e | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH23/EX23.6/ex23_6.sce | 30ce23de2c29836aec403630b198311d9112c637 | [] | 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 | 453 | sce | ex23_6.sce | clc;clear;
//Example 23.6
//calculation of frequency and phase difference
//given values
t=18*10^-6;//relaxation time in s
//calculation
f=1/(2*%pi*t);
disp(f,'frequency at which real and imaginary part of complx dielectric constant are equal is');
alpha=atan(1)*180/%pi;// phase difference between current ... |
84994599544c2a551ff32248f67ec38114e612aa | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/util/%r_tril.sci | 1ffe0ea0deba52d9e148c773d1f9d5b67d7fcd76 | [
"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 | 146 | sci | %r_tril.sci | function d=%r_tril(a,k)
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==1 then k=0,end
d=syslin(a(4),tril(a(2),k),tril(a(3),k)+triu(ones(a(3)),k+1))
|
5c023ef13860f41d4bd2b11dd1421f9de8bae1ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH6/EX6.10/ex6_10.sce | 18511cdd3ab3f6b6c92ea70160e264ee74357b07 | [] | 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 | 956 | sce | ex6_10.sce | // Example 6.10
format('v',5)
clc;
clear;
close;
// given data
bita= 150;
R1= 10*10^3;// in Ω
R2= 2.2*10^3;// in Ω
R_E= 1*10^3;// in Ω
Rs= 1*10^3;// in Ω
R_C= 3.6*10^3;// in Ω
R_L= 1.5*10^3;// in Ω
V_CC= 10;// in V
V_BE= 0.7;// in V
Vt= 25*10^-3;// in V
Vin= 1*10^-3;// in V
V_B= R2*V_CC/(R1+R2);// in V... |
f3f26254982e44c098a742b7a89ac652d6d9242c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH5/EX5.4/Ex5_4.sce | f1f4d5e045c4ec998cf7f6dee86debc68f01aa6a | [] | 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 | 102 | sce | Ex5_4.sce | clc;
I300=10*10**-6;
T1=300;
T2=400;
I400=I300*(2^((T2-T1)/10));
disp('mA',I400*10**3,"I400=");
|
3bb4aae94aab336c71a2565c63ba6ecba3437457 | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH5/EX5.8/5_8.sce | 3dee5630a645319bdf3df36b31e1b7272a597909 | [] | 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 | sce | 5_8.sce |
//data
Er=2.05
ur=1
a=.016 //m
b=.0071 //m
c=.0156 //m
m=1
p=1
printf("\nresult:-")
fr=(300/sqrt(ur*Er))*sqrt((m/(2*a))^2+(p/(2*c))^2)
printf("\nfr=(300/sqrt(ur*Er))*sqrt((m/(2*a))^2+(p/(2*C))^2)\n =%.3e MHz",fr)
|
66a782c4e2f43ee2ed475fb60a05cc5178b79282 | ebfed86dee276110294a4e93fa80377908bbd317 | /macros/houghlinesp.sci | 653c2f84d4e9bee87f3943be3f07722d3bf23691 | [] | no_license | gursimarsingh/FOSSEE-Image-Processing-Toolbox | a9d46b698c98566fec867eb2ce3cfeb427058d5c | 165f6d7d1f20262a1637a923c6aad6e663ad1538 | refs/heads/master | 2021-08-16T19:18:59.591175 | 2017-11-08T17:55:04 | 2017-11-08T17:55:04 | 96,531,802 | 0 | 0 | null | 2017-07-07T11:21:10 | 2017-07-07T11:21:10 | null | UTF-8 | Scilab | false | false | 2,647 | sci | houghlinesp.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
a259a124a53897789db5bfa8248b37006b6cdefc | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.35/3_35.sci | cef1f69f9bccf71368a347f67381703075e52ef8 | [] | 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 | 173 | sci | 3_35.sci | //determine probable error in the computed value of resistnce
clc;
r_V=12;
I=10;
r_Rv=r_V/I;
V=100;
r1=2;
r_Ri=V*r1/I^2;
r_R=sqrt(r_Rv^2+r_Ri^2);
disp(r_R,'r_R'); |
5ec9127d6c25ab3bbc530047477141b05495f5ea | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Dataindex.sci | 82e9ac4831c33448d8d20645efed35afe51ded05 | [] | 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 | 330 | sci | Dataindex.sci | //
// 08.05.31
function Ndm=Dataindex(P)
// %inf;%inf -> end
Ndm=[];
if P==[] return; end
N1=1;
Flg=0;
for J=1:size(P,1)
if P(J,1)==%inf
Ndm=[Ndm;N1,J-1];
N1=J+1;
if P(N1,1)==%inf
Flg=1;
break;
end
end
end
if Flg==0
Ndm=[Ndm;N1,size(P,1)];
end
end... |
780f1db07ea74fb933177361c94379ec763508c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2165/CH1/EX1.2/1_2.sce | b122c01bb960d73fcb4e518de5e4536768faa11c | [] | 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 | 258 | sce | 1_2.sce | clc
//initialisation of variables
v=2//ft^3
v2=20//ft^3
p=100000//ft lb
v2=10.41//lb/in^2
v3=10//lb/in^2
p1=1.3//lb
p2=(v2*199.5)/9.95//lb/in^2
//CALCULATIONS
P=(p2/v3-v2)//lb/in^2
//RESULTS
printf('The initial andfinal pressure=% f lb/in^2',P)
|
f6592a10e58421b26ccc64b752da0931d50453e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH3/EX3.12/Example3_12.sce | 7284c6d57a173b7d975257cd507389fb5a87cd68 | [] | 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 | Example3_12.sce | //Example 3.12
clc
format(9)
v=sqrt((2*(1.6*10^-19)*1000)/(9.1*10^-31))
disp(v,"(i) Velocity of beam, v(m/s) = sqrt(2qVa/m) =")
format(6)
D=((2*10^-2)*(20*10^-2)*25)/(2*1000*(0.5*10^-2))
disp("(ii) Deflection sensitivity = D/Vd")
disp(D,"where D(cm) = l*L*Vd / 2*Va*d =")
format(7)
ds=D/25
disp(ds,"Therefore... |
19bbff0fb4a8ce2429c867b9596925b4e5bac271 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH4/EX4.14/4_14.sci | 5e9c3a14303f0d731f73ab8ced0e0324b2317a91 | [] | 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 | sci | 4_14.sci | // Calculate the natural frequency
clc;
wn=2*%pi*30;
disp( 'for a frequency of 30 Hz wn=(K/M+5*10^-3)^0.5.........(i)');
disp('But wn=(K/M)^0.5.........(ii)');
disp('for a frequency of 25 Hz wn=(K/M+5*10^-3+5*10^-3)^0.5.........(iii) ')
disp('on solving (i), (ii) and (iii)')
M=6.36*10^-3;
K=403.6;
disp(M,'... |
e508a5daef0040c9081a5928074f5da66c0f6baf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH4/EX4.8/4_8.sce | 99c9bf231a6eacbad844d53708061f9e3384b562 | [] | 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 | 4_8.sce | clc
//initialisation of variables
T= 250 //C
T2= 300 //C
v300= 0.6548 //m^3/kg
v250= 0.591 //m^3/kg
v= 0.6 //m^3/kg
u= 3000 //kJ/kg
u250= 2726.1 //kJ/kg
u300= 2804.8 //kJ/kg
T1= 510.30
u2= 3145.26 //kJ/kg
p= 0.4 //Mpa
p2= 0.2 //Mpa
//CALCULATIONS
T1= T1+((v-v250)/(v300-v250))*(T2-T)
u1= u250+((v-v250)/(v300-v250))*(u3... |
02df80702dca877b067840b55ae9d481fe2c02ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH2/EX2.2/Chap2_Ex2_R1.sce | c283eda2d5897c4c5b4623b5b40fa90b4bb1b6da | [] | 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 | 983 | sce | Chap2_Ex2_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-2,Example 2,Page 30
//Title:Work done by gas in piston cylinder assembly
//================================================================================================================
clear
clc
//INPUT
v... |
5647b04970ca3424da44867da66c30e8230245b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH43/EX43.1/Example43_1.sce | be97f6e3d7bf0d38116abe82bb439c4243e584ee | [] | 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 | 406 | sce | Example43_1.sce | //Calculate the Energy of Helium ion its first excited state
//Example 43.1
clear;
clc;
Rhc=13.6;//Product of Rydberg's Constant, Plancks Constant and Speed of Light (Rhc) in eV
Z=2;//Atomic Number for Helium Ion
n=2;//First Excited State
E=-Rhc*Z^2/n^2;//Energy of Helium Ion in the first excited s... |
e59784917cee569ac83f67ea868ae656811177f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH5/EX5.14/Ex5_14.sce | f16fbd0485aed83f4cb92e841012aea5d3816f68 | [] | 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 | 794 | sce | Ex5_14.sce | //Chapter-5,Example 5_14,Page 5-31
clc()
//Given Values:
m=1.676*10^-27 //mass of neutron
h=6.625*10^-34 //Planck's constant
lam=1*10^-10 //wavelength of neutron
//Calculations:
C=3*10^8 //Velocity of light
Ep1=h*C/lam //Energy of photon in joules
E1=... |
c094240abcf07b8abf3805a599de93da21ac2eee | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_draw_light.sci | 4b0ea4e443efa42802023b735159db8e9aacfea2 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,224 | sci | kiks_draw_light.sci | function [] = kiks_draw_light(id)
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
// -----------------------------------------------------
// (c) 2000-2004 Theodor Storm <theodor@tstorm.se>
// http://www.tstorm.se
// -----------------------------------------------------
global("K... |
ff7512e000085fce9ca5742d13dd030112eedebc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH15/EX15.1/Ex15_1.sce | 2f36b431e2b2d375d70a627be40035586201f62d | [] | 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 | Ex15_1.sce | //chapter15
//example15.1
//page321
V=12 // V
P=2 // W
// since P=V*Ic we get
Ic_max=P/V // in ampere
printf("maximum collector current = %.3f mA \n",Ic_max*1000)
|
62a188a8e996e58ef2a7f655ed0c117767dd5d8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH12/EX12.20/Ex12_20.sce | 66e85c374771b016d05f98a0628cbdc065870fc8 | [] | 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 | 889 | sce | Ex12_20.sce | //EX12_20 Pg-40
clc
clear
disp("when modulating voltage V=2.5 V")
V=2.5;//modulating voltage
fd1=5;// frequency deviation in kHz
R=fd1/V;//frequency deviation constant in KHz/V
printf("\n frequency deviation constant R=%.0f KHz/V \n",R)
disp("when modulating voltage V=7.5 V")
V=7.5;//new value amplitude of th... |
4f0b852e492146e254d5701dfcb5430b68e84c81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH9/EX9.5/9_5.sce | 8f8f894d467d7f1896d58896f1ea9c43b6f20b84 | [] | 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 | 413 | sce | 9_5.sce | clc
clear
//Input data
P1=1;//Initial pressure of a single acting compressor in bar
P2=12;//Final pressure in bar
N=500;//Operating speed of the compressor in rpm
T1=308;//Inlet air temperature in K
n=1.3;//Polytropic index
//Calculations
T2=T1*(P2/P1)^((n-1)/n);//Temperature of air delivered by the compress... |
4b52a65978922be87652185642cb6f86c585fdff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH5/EX5.7/Example57.sce | 8e62f3e05cf2a995d61ab8e90b842dc0ca9f4d81 | [] | 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,407 | sce | Example57.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 5, Example 7")
disp("The following equation provides the relationship between the temperature rise and the desired angles:")
disp("T02 ... |
2f8cf9c897927f27d8539064243bd9a7b8ca4f55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH3/EX3.5/EX3_5.sce | 92ed523d6eed1645dfa9e1f35c9250c7f4d2a6dd | [] | 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 | EX3_5.sce | //Chapter 3, Example 3.5
clc
//Initialisation'
v1=15 //voltage
v2=20 //voltage
r1=100 //resistance in ohm
r2=200 //resistance in ohm
r3=50 //resistance in ohm
//Calculation
rp1=(r2*r3)/(r2+r3) ... |
8ca38adfd41d6d5f1597610a436fcae1168f9516 | 30ad7dd5146dfff03b7639186330ec527bfc0524 | /Control Systems Programs/Lab3PreLab.sce | 1ba04701feea6e38e97ab9322d5dc280d617d264 | [] | no_license | boberae/Other-Small-Projects | fcc79d8fd69c6d39de68a8b83360b32b28216d73 | 63d668d2f2c022f653cf44f55992dd05420437e3 | refs/heads/master | 2020-06-11T10:07:44.474211 | 2016-12-06T06:42:33 | 2016-12-06T06:42:33 | 75,697,420 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 817 | sce | Lab3PreLab.sce | //Start point, end point, number of steps
x_start = 1;
x_end = 10;
points = 1;
//Convergence criteria variables
integral = 0;
Good = 0
//While result is changing by more than 0.01%, keep increasing # of points
while Good < 10
points = points + 1;
integral_OLD = integral;
h = (x_end-x_start)/points;
X = linspace(x_st... |
0a5037affc2f748249f130d6bd6c725a9fb8a78a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2702/CH3/EX3.2/Ex_3_2.sce | b62941c54affb95f2520320e44e1f154fa66832a | [] | 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 | Ex_3_2.sce | // Exa 3.2
clc;
clear;
close;
// Given data
V_E= 1.7;// in V
V_B= 1;// in V
RC= 5;// in kΩ
RE= 5;// in kΩ
RE= RE*10^3;// in Ω
RC= RC*10^3;// in Ω
RB= 100;//in kΩ\
RB= RB*10^3;// in Ω
V_CC= 10;// in V
V_BE= -10;// in volt
I_E= (V_CC-V_E)/RE;// in A
I_B= V_B/RB;// in V
// Formula I_B= (1-alpha)*I_E
al... |
2f38ca09b70f23ed2c647e14fb59a05822e5f687 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2966/CH1/EX1.44/1_44.sce | 4254db40209df378ee06fa87e60aae01f48c4d90 | [] | 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 | 488 | sce | 1_44.sce | //water//
//page 1.54 example 9//
clc
volume_hardwater=4500//in litres//
volume_NaCl=30//Volume of NaCl in litres//
Wt_per_Litre=100//% NaCl consumed by zeolite bed//
total_wt=Wt_per_Litre*volume_NaCl//total gms NaCl consumed by zeolite bed//
CaCO3_equivalent=total_wt*50/58.55//in terms of (gms/lit)//
H=CaCO3_e... |
6a4b8a4837bcbd8f96b489f3687fa8d1c4d08d4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH2/EX2.19/Ex2_19.sce | baf6ef5e9a5e357ff169bf2fe25a3970542156e8 | [] | 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,204 | sce | Ex2_19.sce | clc;
// L1=3+(1/(2*X)) -self inductance of coil 1
// L1=2+(1/(2*X)) -self inductance of coil 2
// M=1/(2*X) -mutual inductance
// X is displacement
i1=10; // current of coil 1
i2=-5; // current of coil 2
// from expression W=(L1*i1^2)/2 + (L2*i2^2)/2 + (i1*i2*M) where W is work done and is equal to 175+25/(4*x... |
0fd3d43b6bfd28d9a2b4a01e902434520e94069a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3827/CH2/EX2.1/EX2_1.sce | 6b9548db210a28be532c11c440af716cf00f6550 | [] | 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 | 257 | sce | EX2_1.sce | //EX2_1:Simplify Z = A'BC + A'
//clears the screen
clc
//clears already existing variables
clear
disp('Z = A'' + A''BC')
//This expression has the same form as absorption theorem
disp('let X = A'' and Y = BC.')
disp('Z = X + XY = X = A''.')
|
f58d539a03c4c9fa29c4796e1e5eb142f9ea4ff5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH3/EX3.18/EX3_18.sce | 7e25bc33be47e6fd14dbe7be888ca8925b745bdb | [] | 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 | 329 | sce | EX3_18.sce | clear;
clc;
printf("\nEx3.18\n");
//page no.-134
//given
n=5;................//quantum no.
a=2*10^-10;.........//width of box in m
E1=14.7*10^-19;.....//energy in joules
h=6.625*10^-34;.....//planck's constant in J-s
m=(h^2)/(8*E1*a^2)......//mass of particle in kg
printf("\nmass of particle is 9.33*10^-3... |
63c686d607db1b3030bacfa305fbccb7fd7068cd | 4e7aac39f36916a964f4664f3198d7c87e762253 | /scilab/find_lin_depend_separate_script.sce | f7aeb75bdd343eb84dc20b07d6dfed4445ea4007 | [] | no_license | kirillin/manipulator_dynamics | 349c01fd5aef8b42734edc497a7d48ee49aced9c | a773091ea5a62493b77885a0e2df6491282faa4c | refs/heads/master | 2021-10-22T13:15:09.489858 | 2019-03-10T23:00:56 | 2019-03-10T23:00:56 | 108,987,774 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,721 | sce | find_lin_depend_separate_script.sce | clc();
clear;
global no
no = [36,37]+1;
function init = converter(cols)
global no
//cols in scilab index numeration, i.e. starting with 1
//init in python index numeration, i.e. starting with 0
ind = 0;
for i = 1:70
in = %t;
for j = 1:length(no)
if no(j) == i then
... |
aa70a372bdee27bb76e988ee922d1b3a1d971310 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH5/EX5.3/Ex5_3.sce | d573ab12e919d6348a9e85488968d57c67949b76 | [] | 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 | 167 | sce | Ex5_3.sce | clc
clear
//Initialization of variables
V=100 //ft/s
v=15 //lbm/ft^3
m=5 //lbm/s
//calculations
A=m*v/V
//results
printf("Area of inlet pipe = %.2f ft^2",A)
|
9d789c1e12155b889bb9c82005ebfff4d50c0526 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH15/EX15.9/15_9.sce | 6558afb1ed1738f59690e3ad92a2b54b194f4785 | [] | 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 | 465 | sce | 15_9.sce | clc;
//page no 539
//prob no. 15.9
//A taxi compony using central dispatcher with antenna height=15m & taxi antenna height=1.5m
ht=15;hr=1.5;
//a)Determination of max commn dist betn dispatcher and taxi
d1=sqrt(17*ht)+sqrt(17*hr);
disp('km',d1,'a)The max commn dist betn dispatcher & taxi');
//b)Determination of... |
07d743af1a54797d4ba682738a7ff6127c53a354 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2129/CH5/EX5.10.7/ex5_10_7.sce | 006fc6ae6e5f8a205d682d4e9c53c1d1c745c18a | [] | 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 | 242 | sce | ex5_10_7.sce | //Exa 5.10.7
clc;
clear;
close;
//Given data
I_CEo = 21;// in µA
I_CBO = 1.1;// in µA
beta_dc = (I_CEo/I_CBO) - 1;
disp(beta_dc,"Value of beta_dc is");
alpha_dc = beta_dc/(1 + beta_dc);
disp(alpha_dc,"The value of alpha_dc is");
|
2989770021567f32bbd3fa680fafdbb5268ef9f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH27/EX5.5.13/U5_C5_13.sce | b5b30c9799a717d101edbe9c7b5635c7fc5dce14 | [] | 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,137 | sce | U5_C5_13.sce | //variable initialization
v1=8.657*10^13; //frequency of rotation absorption spectrum (Hz)
v2=8.483*10^13; //frequency of rotation absorption spectrum (Hz)
h=6.6*10^-34; ... |
ea4168701c4d4badf60ac60f2d179652145f8c26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH9/EX9.19/Ex9_19.sce | 583cb654f9f13af6c6cfbc9cec1d41774c56eafc | [] | 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,183 | sce | Ex9_19.sce | // chapter 9
// example 9.19
// Design a self-commutated invertor circuit and compute output power
// page-608-609
clear;
clc;
// given
f0=3; // in KHz
R=5; // in ohm (load resistance)
L=5; // in mH
Edc=100; // in V (dc source)
// calculate
f0=f0*1E3; // changing unit from KHz to Hz
fr=1.35*f0; // calculation of resona... |
84ad3a96af6ec4843620b9eaf886300f4ff23f37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH6/EX6.20/Ex6_20.sce | 8c626565bf0432217712fb1bc630cac529b950d9 | [] | 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 | 476 | sce | Ex6_20.sce | // Chapter 6 example 20
//------------------------------------------------------------------------------
clc;
clear;
// Given data
ps = 100; // sheet resistivity
L = 1.04 // length
W = 0.02 // width
// Calculations
NOS = L/W // number of squares
R = ps * NOS ... |
5d19a99e2399341c9523e3ed98dbbac8904fd171 | e1bc17aae137922b1ee990f17aae4a6cb15b7d87 | /Completed Simulations/Control Systems by Nagrath and Gopal/Scilab/Ex7.9.sci | 6154ef600c488bdb260b1c788c6ce83e3bafc0e7 | [] | no_license | muskanmahajan37/Xcos_block_examples | 650dceb0afdbfc100f3e9c5a6508443eca030fa2 | 8ac15bc5efafa2afc053c293152605b0e6ae60ff | refs/heads/master | 2022-02-26T04:20:26.365579 | 2019-09-03T12:57:40 | 2019-09-03T12:57:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sci | Ex7.9.sci | function y=locus9(z)
s=%s
G=syslin('c',(s+4/3)/(s^2*(s+12)))
evans(G,z)
d=derivat(G)
p=numer(d)
a=roots(p)
disp(a,"Breakaway points=")
printf("Equal roots are at s=-4")
printf("/n Value of K at s=-4=")
y=0;
endfunction
|
4e9de44882eb9a9ce0d8314bc9707f54af00d750 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH16/EX16.9/9.sce | 4ede8c98381f32f9688d2f6eecf70ded9ffea419 | [] | 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 | 498 | sce | 9.sce | clc
V0=1000*1000/3600; //m/s
T0=320; //K
p_atm=98.1; //kN/m^2
p=9.81; //kN/m^2
p0=98.1-p;
R=287; //J/kg K
y=1.4;
C0=sqrt(y*R*T0);
M0=V0/C0;
disp("Stagnation pressure =")
ps=p0*(1+((y-1)/2*M0^2))^(y/(y-1));
disp(ps)
disp("kN/m^2")
disp("Stagnation temperature =")
Ts=T0*(1+((y-1)/2*M0^2));
disp(Ts... |
ae74906ee68ab831b9a78832f5112f2e78af65f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH13/EX13.5/13_5.sce | 00b9747f9ba5100344b7978b3fe20c8c84b70996 | [] | 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 | 13_5.sce | clc
//initialisation of variables
Scl= 53.29 //E.U
Sag= 10.21 //E.U
Sagcl= 22.97 //E.U
//CALCULATIONS
dS= Sagcl-Sag-0.5*Scl
//RESULTS
//RESULTS
printf (' Entropy change = %.2f E.U',dS)
|
1ad64c69f9fc60862d469c03ada2fdbdb0149541 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH19/EX19.5/Ex19_5.sce | c8f9be59b3dbc9b92deba6a8ce754682c87caf78 | [] | 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 | 136 | sce | Ex19_5.sce | clc;
PW=0.000125;
T=0.000325;
dutycycle=(PW/T)*100;
disp('%',dutycycle,"dutycycle=");//The provided in the textbook is wrong
|
1e737d80be11cfbf532e25f56259ceb7d36a1add | 449d555969bfd7befe906877abab098c6e63a0e8 | /3821/CH13/EX13.4/Example13_4.sce | 045736158911f7aca58e02f3bfdc2b3dda100111 | [] | 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 | 757 | sce | Example13_4.sce | ////Chapter 13 Steam Engines
////Example 13.2 Page No 285
///Find Cover end mean effective pressure
//Input data
clc;
clear;
Cover=1200; //Area of the indicator diagram for cover
Crank=1100; //Area of the indicator diagram for crank
ID=75;
PS=0.15;
///Calculat... |
ae7d0bdd7ac41ca9fa4ad149fe40deeaa2e42ae4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2267/CH12/EX4.10/Ex12_10.sce | 37057270887287b62f47617ea12c2092d3a39b61 | [] | 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 | 629 | sce | Ex12_10.sce | //Part B Chapter 4 Example 10
clc;
clear;
close;
d=50;//mm
D1=110;//mm
D2=70;//mm
L=1*1000;//mm
T=1.5*10^6;//kNmm
G=10^5;//MPa
tauH_BY_tauS=D1/2/(d/2);
//tauS=T/(tauH_BY_tauS*%pi*(D1^4-D2^4)/32/D1+%pi*d^4/d/32);//N/mm^2
tauS=T/(tauH_BY_tauS*%pi*(D1^4-D2^4)/(D1*32)+%pi*d^4/(32*d))
tauH=tauH_BY_tauS*tauS;//N... |
ab607b5edd90e36bcc26372c1c46450b6c46d9d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH10/EX10.2/10_2.sce | ec45c4f77437c4593ce0977b8e2ee0744a72f9c7 | [] | 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 | 517 | sce | 10_2.sce | clear
clc
disp('Exa-10.2'); //The solution is purely theoretical and involves a lot of approximations.
printf('The value of shift in frequency was found out to be delf=7.14*fo*10^-7*sqrt(T) for a star composing of hydrogen atoms at a temperature T.\n');
T=6000; //temperature for sun
del... |
cdf4795965f70b3b679a9d7471b063484a487c9e | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/scicos_blocks/WRITEC_f.sci | ae1647f97b165e757e0339f42bff63f578ae44eb | [
"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 | 2,694 | sci | WRITEC_f.sci | function [x,y,typ]=WRITEC_f(job,arg1,arg2)
// Copyright INRIA
x=[];y=[];typ=[]
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(o)
case 'getoutputs' then
x=[];y=[];typ=[];
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=arg1;
graphics=arg1(2... |
a7551c5e7b8edc5da1b0706c98bab89c489c4d47 | 28eb75b06268a1843343e6d150a074e8fed9eef0 | /hello world.tst | 3078728642268ebe8c7ce52756e49a32a60d87f2 | [] | no_license | chuclaire/Class01 | 5e821d0b708382782ffd2be09e9b7c4239c8e579 | 7343376330839854a3f14f209d33c5767f546688 | refs/heads/master | 2021-04-19T21:01:47.637113 | 2020-03-24T08:09:50 | 2020-03-24T08:09:50 | 249,633,696 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 17 | tst | hello world.tst | hello world.tst
|
24af597c09092db59a227c5b9383d8f75bd7d367 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH2/EX2.45/Example2_45.sce | ae750c8e154b4716c91464fd0d37cb81cd68dba8 | [] | 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 | Example2_45.sce | //Example 2.45
//To draw the pole-zero plot
clear;
clc ;
close ;
z=%z
H1Z=((z)*(z+1))/(z^2-z+0.5);
xset('window',1);
plzr(H1Z); |
3b90af0053bf5a451251547c9089d26ed256130c | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH13/EX13.1/example13_1.sce | c9d7f1eac3d954cd0fe3d02a09a6eda34d870d20 | [] | 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 | 930 | sce | example13_1.sce | clc
clear
disp('example 13.1')
pg=3000 //kva rating of generators single phase
xg=0.1 //10%reactanse of generator
vg=11 //voltage at the terminals of generator
xbf=5 //reactanse of feeder fron bus to fault
pb=pg;vb=vg;ib=pg/vg //let power and voltage of as respective base then current base
zb=(vb*10^3)/... |
5edc1972bb53012bf894a76315f2ea59fda28041 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH13/EX13.8/ex13_8.sce | 5e465162bb578910db5682223f2b43b787dc18bd | [] | 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,216 | sce | ex13_8.sce | //ex13.8
R_i=10*10^3;
C=0.01*10^-6;
V_in=2.5-(-2.5);
PW=100*10^-6; //pulse width
T=2*PW;
A=2.5;
op_change_cap_charge=-V_in/(R_i*C);
op_change_cap_discharge=V_in/(R_i*C);
disp(op_change_cap_charge,'rate of change of output voltage with respect to time when capacitor is charging (in Volts per sec)')
disp(op_... |
659f915b147f6bfd71512a771175e3384557f7da | 8d952a06e3809a06825a3be7b067201f3652f16a | /debug/bin/BackDoor/help/builder_help.sce | e0456a9f5cfbdc0eaddf3e9e94463426dd76b3d5 | [
"GPL-3.0-only",
"MIT"
] | permissive | andyLaurito92/haikunet | b771eaf6bd91292485f0a49698ce123b9308d676 | db44623b248c56735c28a5f589c3239dc7e9855e | refs/heads/master | 2021-06-14T12:38:38.996450 | 2021-05-05T18:26:02 | 2021-05-05T18:26:02 | 75,564,849 | 2 | 1 | MIT | 2021-05-05T18:26:26 | 2016-12-04T21:12:31 | C++ | UTF-8 | Scilab | false | false | 187 | sce | builder_help.sce | // Copyright INRIA 2008
// This file is released into the public domain
help_dir = get_absolute_file_path('builder_help.sce');
tbx_builder_help_lang("en_US", help_dir);
clear help_dir;
|
15443deb88f4edd22a219be61b232e2fb78f5174 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2747/CH7/EX7.4/Ex7_4.sce | b6ba36b08d05076aebfda42483b83b72797ab7ef | [] | 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 | 226 | sce | Ex7_4.sce | clc
clear
//Initialization of variables
cp=0.25 //Btu/lbm R
T2=520 //R
T1=3460 //R
//calculations
dq=cp*(T2-T1)
ds=cp*log(T2/T1)
dG=dq-T2*ds
eff=dG/dq
//results
printf("Thermal efficiency = %.1f percent",eff*100)
|
3b06ff0712a9dc1001f6e9aeaa0d835ce3aa6c8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH4/EX4.1/Ex4_1.sce | 1930d6dd651364055976518dbf236633ac1abe58 | [] | 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 | 384 | sce | Ex4_1.sce | clc
//initialization of variables
K=100 // spring constant in kN/m
d=0.8 // dispacement of spring in m
// to get total work we integrate from 0 to 0.8 displacement
x1=0; // lower limit of integration
x2=0.8; // upper limit of integration
W12=integrate('K*x','x',x1,x2);
Q12=W12; // by first law of thermodynami... |
7e2d58b7b882d20812a36f01c2b75681fe8b1517 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH12/EX12.9/ex12_9.sce | 577cdc3f1c56fa141a9ba94ec3c278090f575b58 | [] | 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 | 287 | sce | ex12_9.sce | clc;
k=9*10^9; //constant in free space in N.m square/C square
q1=1.6*10^-19; //charge in coulomb
q2=1.6*10^-19; //charge in coulomb
r=5.3*10^-11; //radius in metre
F=(k*q1*q2)/(r*r); //calculating force in Newton
disp(F,"Force in Newton = "); //displaying result |
d65d73f607a11dfbe78a4f9a8ca3ba6b1374403b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH4/EX4.15/4_15.sce | 25a2795981d17fbb0f259920e798961ea369ed39 | [] | 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 | 339 | sce | 4_15.sce | clc
clear
//Initialization of variables
Hvap=338.14 //kJ/kg
T=409.3 //K
//calculations
dss=Hvap/T
dg=0
//results
printf("change in entropy and gibbs energy of system are %.3f kJ/kg K and %d kJ/kg respectivey",dss,dg)
printf("\n change in entropy and gibbs energy of universe are %.3f kJ/kg K and %d kJ/kg respe... |
3df92c376b2e6bbcf2e5853a3f81b71cea424d5b | 013fbb3c74956eb0dd76e916566c11e5823feef4 | /projects/02/Nx16.tst | 233a38f78b3bb2f47b9efcf6b60386727da65573 | [] | no_license | btesf/nand_to_tetris | f0831cbaa41bacedacdef8975d1497f224c0ac55 | 5f418a3e191b89c7f32e35f3ae6180c3b506ce73 | refs/heads/master | 2023-05-28T00:08:37.728944 | 2021-06-19T17:09:22 | 2021-06-19T17:09:22 | 356,931,420 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 623 | tst | Nx16.tst | load Nx16.hdl,
output-file Nx16.out,
compare-to Nx16.cmp,
output-list in%B1.16.1 nx%B1.1.1 out%B1.16.1;
set in %B0000000000000000,
set nx 0,
eval,
output;
set in %B1111111111111111,
set nx 0,
eval,
output;
set in %B1010101010101010,
set nx 0,
eval,
output;
set in %B0011110011000011,
set nx 0,
eval,
output;
set in ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.