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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fd6436e768a10db8a5adbee5c4109504c2411e7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH32/EX31.3/EX31_3.sce | eab19e361f846490e8a39c2c2c0f73c6067574bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 740 | sce | EX31_3.sce | // Grob's Basic Electronics 11e
// Chapter No. 31
// Example No. 31_3
clear; clc;
//Calculate the following quantities: Pl, Pcc, Pdmax & percent efficiency
// Given data
Vin = 20; // Input Voltage=20 Volts(p-p)
Vopp = 20; // Output Voltage(p-p)=20 Volts(p-p)
Vcc = 24; // Supply Voltage(Coll... |
deb5ecab07c91929d6baadf198f6ac556cc4b237 | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH4/EX4.22/ex4_22.sce | 4d3fe080518504c5316a597ab6d11e438cc05b2a | [] | 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,406 | sce | ex4_22.sce | //Example 4.22
close;
clc;
E=3; //in volts
Rm=100; //In ohms
Im=1*10^-3; //in amperes
//Rs value that will give FSD current
Rs=E/Im-Rm;
printf('\nValue of Rs that will limit Current to FSD = %.2f k ohm\n',Rs/1000)
function [Rx]=deflection(x,Rs,Rm)
Rx=(Rs+Rm)/x-... |
53adf214cfccea95f90cbdc0e74d027eb48f8617 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH2/EX2.1/Example_2_1.sce | 2f010bdf9b5e1fde803c37ff2e78e1e85d65ee8b | [] | 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 | 447 | sce | Example_2_1.sce | //Chemical Engineering Thermodynamics
//Chapter 2
//P-V-T Relations
//Example 2.1
clear;
clc;
//Given
m = 140;//m is the mass of N2 in Kg
P = 4.052*(10^5);//P is the pressure of the system in Pa
V = 30;//V is the volume of the system in m^3
R = 8314.4;// R is the gas constant
//To determine temperature... |
fc7d1345b945e92c09e4f131c95b96b3d348f0cf | 32fd83dc0c1ad67edb50e5f14e9e3636dc53f0a0 | /tests/mutex.tst | f580a0f077283c9b4c3c2b2872377ec540c0883e | [] | no_license | scartill/semu | 37003faed6b49cff3a1e40c60f7bd7b0859347f9 | ad06509536ad25627d96168a7ede326c4e8a7a33 | refs/heads/master | 2022-07-22T13:01:38.645297 | 2022-07-09T05:44:25 | 2022-07-09T05:44:25 | 110,429,263 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | tst | mutex.tst | source $SEMU_ROOT/lib/kernel/build.list
SRC="hw.sasm $KERNEL_SRC mutex/app.sasm"
CMP=mutex/output.log
|
e5cebdd36f187178d78a1b248adbc7da797c1d94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH4/EX4.6/Example4_6.sce | c9db457a5c3121e3fc8ede81373963613148c089 | [] | 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,195 | sce | Example4_6.sce | //Example 4.6.
clc
ni=1.5*10^10
un=1300
up=500
q=1.6*10^-19
nos=5*10^22
disp("(a) In intrensic condition, n=p=ni")
disp("Hence, sigma_i = q*ni*(un+up)")
format(8)
sigma_i = q*ni*(un+up)
disp(sigma_i,"sigma_i(S/cm) = ")
disp("(b) Number of silicon atoms/cm^3 = 5*10^22")
ND=5*10^22/10^8
disp(ND,"Hence, ND(c... |
0f4207aac797c9728eeeb2d69c37b4e1f004146e | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH6/EX6.3/example6_3.sce | b8eb2e74783b9aecba9adfbf3cc84b674c30c0bb | [] | 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 | 309 | sce | example6_3.sce | r1=400;
r2=2*10^3;
g3=10^(-3);
v=10;
disp("Part a");
g=1/r1+1/r2+g3;
disp("the total conductance (in mS) is"); disp(g*10^3);
disp("Part b");
r=1/g;
disp("the combined resistance (in Ω) is"); disp(r);
disp("Part c");
i=v/r;
disp("the total current drawn (in mA) from the source is"); disp(i*10^3); |
889202a0ef422f32ed412099098e6f250157b55b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH2/EX2.12/Ex2_12.sce | 881aefaba0e2434148ab619e80b838255b25ea17 | [] | 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 | Ex2_12.sce | // chapter 2
// example 2.12
// Calculate one cycle surge current rating
// page-54-55
clear;
clc;
// given
I_sub=3000; // in A (half cycle surge current rating)
f=50; // in Hz (supply frequency)
T=100, t=50; // time ration for one and half cycle respectively
// calculate
// I^2*T=I_sub^2*t, therefore we get
I=sqrt(I_s... |
f7a2b676003741a3bbc370eb563da8867e751dcf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH9/EX9.8w/9_8w.sce | bb0e65acb23db6a2af2bbc94ef1aa6bbdd7ecf58 | [] | 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 | 688 | sce | 9_8w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 9.8w
//calculation of the distance from launching point
//given data
u=100//speed(in m/s) of the projectile
theta=37//angle(in degree) of the projectile above horizontal
g=10//gravitational acceleration(in m/s^2) of ... |
53fdd8abcac3b4d1999338d9faf6118e02ec1738 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH5/EX5.35/Ex5_35.sce | a7adc253e60865ecd029fa68230b55b053a9fb4c | [] | 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 | 188 | sce | Ex5_35.sce | clear
//Given
R1=5 //ohm
R2=5.0 //ohm
R=6
//Calculation
n=(1/(R-R1)*R2)
//Result
printf("\n There are %0.3f resistance are in parallel", n)
|
61ca67aed91588d91dd479eae0e86af1af78633c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH5/EX5.11/Ex5_11.sce | 1404afeac306cdddf2465458348171bf0c196c08 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 238 | sce | Ex5_11.sce | //Ex5_11
clc
Rf = 10
RL = 150
eta_r = 40.6/(1+Rf/RL)
disp("Rf = "+string(Rf)+"ohm")//forward resistance
disp("RL = "+string(RL)+"ohm")//load resistance
disp("eta_r = 40.6/(1+Rf/RL) = "+string(eta_r)+"%")//rectification efficiency
|
2f56119f0f16d61802bbbce985d23fed02a2b1aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH9/EX9.11/ex_9_11.sce | 710b2d7118f6d20ee9c70cba8516ec6e6cbfd7b0 | [] | 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 | 900 | sce | ex_9_11.sce |
//solution
//given
b=200//mm
t=12.5//mm
ft=80//N/mm^2
T=65//N/mm^2
fc=160//N/mm^2
pi=3.14
printf("the value of d is,%f mm\n",6*sqrt(t))
//standard value of d=21.5mm
d=21.5//mm
//let n be number of rivets
Pt=(b-d)*t*ft//N
Ps=1.75*(pi/4)*d^2*T//N
Pc=d*t*fc//N
n=Pt/Ps
t1=0.75*t//mm
Pt1=(b-d)*t*ft//N
Pt2=(b-2*d)*t*ft+Ps//... |
c49b09889de2637c371aec2a6b03f788e0442ec6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH10/EX10.12/Ex10_12.sce | 14e0efb72492ddfb441673d66ab675ca40cb98b9 | [] | 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 | 398 | sce | Ex10_12.sce | clear;
clc;
//Example 10.12
//lambda=y
yn=0.01;
yp=0.01;
Vtn=1;
Kn=1;
Iref=0.5;
gm=2*sqrt(Kn*Iref);
printf('\ntransconductance =%.2fmA/V\n',gm)
go=yn*Iref;
printf('\nsmall signal transistor conductance=%.4f mA/V\n',go)
go2=go;
//for Rl=infinity
Av=-gm/(go+go2);
printf('\nvoltage gain=%.2f \n',Av)
Rl=10... |
90adbf78b888ed74dd5c7429a00d39ff8ab183cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH14/EX14.8.b/14_8_soln.sce | 314af1cad8c0b86051bfe309e2062e31644bba99 | [] | 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 | 752 | sce | 14_8_soln.sce | clc;
pathname=get_absolute_file_path('14_8_soln.sce')
filename=pathname+filesep()+'14_8_data.sci'
exec(filename)
// Solutions:
// inlet pressure,
p_in=101; //kPa
// actual power,
act_kW=((p_in*Q)/(17.1*(eff_o/100)))*(((p_out+101)/p_in)^0.286-1); //kW
// electric power required to drive electric motor,
elect_kW=act_kW/... |
4ef8cd6496eacab82c5aacf8d2311639ca8af1f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH2/EX2.15/Ex2_15.sce | e7778043c70bf20525358882973d5b319365e3b2 | [] | 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 | 615 | sce | Ex2_15.sce | //Finding resistance
//Example 2.15(pg. 28)
clc
clear
n=100//no of slots
c=12//conductors per slot
Lm=300// mean length of turn in cm
a=1.5*0.2//cross section of each conductor in cm^2
s=1.72*(10^-6)//specific resistance of copper at 20 degreeC
p=4// poles
t=20,T=75//temp in degreeC
k0=0.00427//temp coeffici... |
d5e7b70b16d52ff73da5534c46b36fdb5f779c7b | fa428f297a915e9a041597642bfe29627ab69c42 | /app/views/listings/listings.sce | 341139c7b52b66cc54804bf9488005e83e027bfd | [] | no_license | TheBrenny/Web-Dev-and-Security | dff903be92838b14f7126dd1f7092922b86bf2cc | e4abb96dc24e606704b09f5acdd2684d6d5d577d | refs/heads/main | 2023-06-17T08:33:35.176024 | 2021-06-15T05:07:20 | 2021-06-15T05:07:20 | 343,603,444 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,213 | sce | listings.sce | [[i= partials/header ]]
[[i= partials/navbar ]]
<div class="container center">
<div class="search">
<input placeholder="Search" type="text" name="search" value="[[search]]">
<div class="btn">Search</div>
</div>
<hr style="margin:2em;height:2px;">
[[?= listings.length == 0 ]]
... |
c62ad81860a2b665d67501a61b4d7e62f4bd3acf | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-DataMining/SP_VarCluster-NZ-01.tst | b27f8c72b9cfd985f3cca43bdcd42d829457f679 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,660 | tst | SP_VarCluster-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2015 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
2fcf7476da270da186634a534ffb25c26ce9cdee | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH8/EX8.5/8_5.sci | 8742aac7cf2070c9b3f1dfcd2e44c41356d0b448 | [] | 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 | 326 | sci | 8_5.sci | clc();
clear;
//To measure magnetisation of paramagnetic salt
//(M1*T1)=(M2*T2).Therefore M2=(M1*T1)/T2
M1=2; //Initial magnetisation in A/m
T1=305; //Initial temperature in K
T2=321;
M2=(M1*T1)/T2 //M2 is magnetisation at 321K
printf("Magnetisation at 321 K is %f A/m... |
8d711133b2983ac0d1f455de72a439911d93ba2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH12/EX12.27/Ex12_27.sce | f02395a59d87a20dc69e80eec7f9c4edad1539f3 | [] | 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 | 567 | sce | Ex12_27.sce | //=====================================================================================
//Chapter 12 example 27
clc;clear all;
//variable declaration
f = 450*10^3; //resistance inHz
C = 250*10^-12; //capcaitance in F
Rsh = 0.75; //resistance in Ω
Q = 105; //Q-factor
//calculations
w... |
89f220282175dae5ff0d7ecf94a44b41ec1f9943 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH6/EX6.2/ex_6_2.sce | da4aa583a76652d9ea0631804477bf926b391f37 | [] | 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 | ex_6_2.sce | //Example 6.2 // force
clc;
clear;
close;
I=70;// in amperes
B=0.4;//flus density in Wb/m^2
n=1;//turns
F=B*n*I;// in newton
disp(F,"force in newtons is")
|
56e14855a7f75a83fdb12416d40e0424c9806de7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH3/EX3.10/Ex3_10.sce | a703fec9a0d7a0e82b46cb9dd3ff31ca7311d53d | [] | 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 | 989 | sce | Ex3_10.sce | // Chapter 3 example 10
//------------------------------------------------------------------------------
clc;
clear;
// Given data
C = 30; // per unit capacitance in pF/m
Vp = 260; // velocity of propagation in m/us
f = 500*10^6 // freq in Hz
Zl = 50; // terminating load ... |
175028ab3359dded7039299b0f463d3a990e249f | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH15/EX15.2/15_2.sce | 47b86248359ed34ada7825320ef108734a3b9a94 | [] | 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 | 232 | sce | 15_2.sce | clc;
//page no 518
//prob no. 15.2
//Dielelectric strength of air=3MV/m
e=3*10^6;//electric field strength
Z=377;//impedance of air
Pd=(e^2)/Z;//Determination of power density
disp('GW/m2',Pd/10^9,'The max power density is'); |
291b3e7901e7e90371fd58aef165c5ea62fa948a | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.12/3_12.sci | 976675494473b361cac208bd1fcee22bc7286ced | [] | 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 | 156 | sci | 3_12.sci | // calculate the power loss and relative error
clc;
I=64*10^-3;
R=3200;
P=(I^2)*R;
disp(P,'Power(W)=')
Re=2*0.75+0.2;
disp(Re,'Relative error (%)=') |
f5dc3f47fcff7060d0c90cc4a5942ba5edf418e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH4/EX4.11/ex11.sce | 4bdff61fcc36c929d84d0860557871609ea00d41 | [] | 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 | WINDOWS-1252 | Scilab | false | false | 874 | sce | ex11.sce | //ques11
//Enthalpy of Compressed Liquid
clear
clc
//the water exists as a compressed liquid at the specified state
//(a) using compressed liquid table
P=15000;//pressure in kPa
T=100;//temperature in C
h=430.39;//heat of water in kJ/kg from Table A-7
printf('(a) Heat of water using compressed liquid table = %... |
50ad433cea53ff3a332dd476e5230a1c3b34eca3 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/builder.sce | a431ffb86c1bbdb06bf06121456d3075f1325f74 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 1,949 | sce | builder.sce | // Copyright (c) 2015, Embedded Solutions
// All rights reserved.
// This file is released under the 3-clause BSD license. See COPYING-BSD.
mode(-1);
lines(0);
function main_builder()
TOOLBOX_NAME = "microdaq";
TOOLBOX_TITLE = "MicroDAQ toolbox";
toolbox_dir = get_absolute_file_path("builder.sce");
// Chec... |
0f2f7a5d6efc66b039c75f1f7a893e11d75e4d5b | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/EnHe/enhe11.tst | c5a7c629be40394e82b87f447bd64cfae2541553 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,453 | tst | enhe11.tst | ghotbzadeh
takuya
verona
kohl
alami
veneto
dalnet
bouna
gammoudi
durrell
lato
prodi
aston
morihei
reza
talaat
anastasius
lakis
mohaisen
daniel
chacour
lucy
guthrie
galilei
deanna
batumi
haruki
zenata
kolotov
platko
vernon
sharon
shojaei
heiner
sylvia
guity
mil
ramat
sorensen
rafe
nouvel
maneiro
mohammad
attica
bodom
br... |
432540c3eba81040e4d887e56b7ebf938cb91070 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH7/EX7.4/Ex7_4.sce | 46af9e87489b2a9269f5859aedfb61a1b3fcb480 | [] | 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,646 | sce | Ex7_4.sce | clc
//solution
// initialization of variables
r=18 // compression ratio
k=1.4 // polytropic index for air
R=0.287 // specific gas constant for air
T1=200+273 // lower temperaure in kelvin
P1=200 // low pressure in kPa
T3=2000 // higher temperature of cycle in kelvin
v1=R*T1/P1 // specific volume at state ... |
37fc790890cb893aa2e86d7ebe6f6f04aaf0baf7 | 42fdf741bf64ea2e63d1546bb08356286f994505 | /test_20160829_nFETpFET_Id_char/temp.sce | 9bee77508d72d01e185de32fced4111f72b44dc3 | [] | no_license | skim819/RASP_Workspace_sihwan | 7e3cd403dc3965b8306ec203007490e3ea911e3b | 0799e146586595577c8efa05c647b8cb92b962f4 | refs/heads/master | 2020-12-24T05:22:25.775823 | 2017-04-01T22:15:18 | 2017-04-01T22:15:18 | 41,511,563 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,098 | sce | temp.sce | clear mite_473_977_10uA;
mite_473_977_10uA=csvRead("~/rasp30/prog_assembly/libs/scilab_code/characterization/char_miteADC/data_miteADC473_977_chip"+chip_num+brdtype);
//polyfit
[p_mite_977_10uA,S_mite_977_10uA]=polyfit(mite_473_977_10uA(:,1), mite_473_977_10uA(:,2),7);
size_a=size(mite_473_977_10uA);
//MITE_range_977 =... |
e6baf6bf607dafba90113550efff1a52a8d1243c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH9/EX9.1/Ex9_1.sce | 6a59df5cf3dedd2d60f6922d3a04ef6f63e90036 | [] | 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,268 | sce | Ex9_1.sce | //chapter9
//example9.1
//page142
printf("in fig. (i), the conventional current coming out of battery flows in the \nbranch circuits. In diode D1,the conventional current flows in the \ndirection of arrowhead and hence this diode is forward biased. \nHowever in diode D2, the conventional current flows opposite \nto ar... |
9d2af50be1ae1017154fc9491c43680961e1fd3f | 717ddeb7e700373742c617a95e25a2376565112c | /226/CH5/EX5.20/example20_sce.sce | bf978e596d711e83acb81f595876f822f8a39f91 | [] | 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 | 225 | sce | example20_sce.sce | //chapter 5
//example 5.20
//page 2
printf("\n")
printf("given")
Vcc=10;Rc=1*10^3;Rb=6.8*10^3;Vs=5;
disp(" hFE calculation")
Ic=Vcc/Rc
Ib=(Vs-Vbe)/Rb
hFE=Ic/Ib
disp("when hFE=10")
hFE=10
Ic=hFE*Ib
Vce=Vcc-(Ic*Rc) |
15b20dbe64289ea563e8fb5d1fa06ba6d34dd7bc | b26cbe6bc3e201f030705aaf9eb82da94def231f | /tests/tau_recurrence_rate-002.tst | cc350886afacd8192840ff69bcdd863bbaaf9e7b | [] | no_license | RP-pbm/Recurrence-plot | f86c5cd85460661b01a609f8f4281d2cda6b4e07 | b5da95f9b30c1a924a002102219bf0a2ad47df2c | refs/heads/master | 2022-07-24T12:11:34.163543 | 2022-07-09T19:32:43 | 2022-07-09T19:32:43 | 92,934,698 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 24 | tst | tau_recurrence_rate-002.tst | ../inputs/square-5x5.pbm |
6638d0e1697a6675e55cf1f6d3b693408fd904aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2606/CH1/EX1.11/ex1_11.sce | 156f6997a049a97877ea49eb64d1b4f2b2a1280b | [] | 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 | 975 | sce | ex1_11.sce | //Page Number: 1.14
//Example 1.11
clc;
//(a)
//Given
//Signal is x(t) = rect(t)
//rect(t) = 1 for -a< |t| < a and 0 elsewhere
//Therefore
//We find out fourier transform of x(t)= 1 for -a< |t| < a thus,
x=1;
a= 200; //Assume
t= -a : 1 : a; //range for fourier transform
y=fft(x);
disp(y,'Fourier trans... |
2626436905708a89fba36885f47bc1246526db4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH4/EX4.10/4_10.sce | 78deb58e4495aa960a10c7a6f020934675d18140 | [] | 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 | 4_10.sce | //All the quantities are expressed in SI units
c = 1.5; //airfoil chord length
Rex_cr = 1e6; //critical Reynold's number
Re_c = 3.1e6; //Reynold's number at the trailing edge
//the point of transition is given by
x1 = Rex_cr/Re_c*c;
//the various skin friction coefficients... |
6018264303ec22fc996c2dc80e44e326b0c5ce42 | 2de662559376150e2952a0d0e2b0d080997054c5 | /gmv_incremental.sce | 5fc952726286ab1bffd1156c9ab634c11ea01692 | [] | no_license | virginiabrioso/controle-otimo | 401ea6c85f80e58628188cbd70675c7c70183d23 | 64ab5a8aa5f1ae60caa46222d9f344c42fa73894 | refs/heads/main | 2023-05-11T19:46:40.895422 | 2021-06-01T00:29:59 | 2021-06-01T00:29:59 | 372,653,014 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,611 | sce | gmv_incremental.sce | // Exemplo: regulador de variância mínima
clear; xdel(winsid()); clc;
// Condições Iniciais
z = %z;
Ts = 0.1;
tfinal = 50;
N = round( tfinal/Ts );
t = 0:Ts:N*Ts-Ts;
yr(1:50)=0; yr(51:N+1)=1;
y(1:3)=0; u(1:3)=0; e(1:3)=0;
// Parametros fornecidos
Bz = [0.0234015 0.5489666 0.0751607]
b0 = Bz(1); b1 = B... |
ebe331028ab47a223c0cacd9fd8548f638130bf2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH3/EX3.12/Ex3_12.sce | fea97325d7372b465223ec812ef68ad025cb4ff0 | [] | 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 | 743 | sce | Ex3_12.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : DC Circuits
// Chapter 3: Methods of Analysis
// Example 3 - 12
clear; clc; close;
// Given data
Vs = 4.00
VBE = 0.70
Rb = 20000.00 ... |
a5b7d8c2c6952b841824cc5e528ad1167c7c7e8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH3/EX3.4/Example3_4.sci | 4577fdada9f2b60c2cb4b3c264f3cb0a61b9509c | [] | 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 | 868 | sci | Example3_4.sci | clear;
clc();
// To calculate heat loss from pipe
d1=10.75/12; // outer diameter of pipe in ft
x1=1.5/12; // thickness of insulation 1 in ft
x2=2/12; // thickness of insulation 2 in ft
d2= d1+2*x1; // diameter of insulation 1 in ft
d3=d2+2*x2; // ... |
9e78da30f4d707b5424619f5975a899b33105f33 | 21f228fefe3b4062d03172eb3a7a4857a443a8a3 | /luu.sci | ab54928fb8656defced4d7415c376a04758b4c2a | [] | no_license | mppinedav/prueba | 263e7e82576773e448ed69cd1a741b14608d390b | 53a630ce2340e5efb3d3705fec6dfb7cf74ea861 | refs/heads/master | 2021-01-17T15:16:05.369062 | 2016-05-05T18:58:09 | 2016-05-05T18:58:09 | 42,672,584 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 470 | sci | luu.sci | function[L,U,X]=LU_Parker(A,B)
% Now use a vector y to solve 'Ly=b'
y=zeros(m,1);
y(1)=B(1)/L(1,1);
for i=2:m
y(i)=-L(i,1)*y(1);
for k=2:i-1
y(i)=y(i)-L(i,k)*y(k);
y(i)=(B(i)+y(i))/L(i,i);
end;
end;
% Now we use this y to solve Ux = y
x=zeros(m,1);
x(1)=y(1)/U(1,1);
for i=2:m
x(i)=-U(i,1)*x(1);... |
5e505aa6f7ea52ee063b051b3f6dabb209bcdc95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH3/EX3.1/chapter3_ex1.sce | 83f78d4e9cb924de710af85e734df9063b577001 | [] | 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 | 572 | sce | chapter3_ex1.sce | clc
clear
//input
n1=420;//number of conductors in armature of a d.c. machine
phi=0.024;//flux produced by each pole in weber
e=250;//desired e.m.f in volts
n2=4;//number of poles of the d.c. machine
//calculations
N=n1/2;//number of conductors per path and there are two parallel paths
//e1= e.m.f induced ... |
7738efc9445ec37535a0a4a8d1883291f496c2e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH3/EX3.5/Ex3_5.sce | 4a1de0ff0813480413558047370a110eec939cbe | [] | 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 | 345 | sce | Ex3_5.sce |
// Ex3_5
clc;
// Given:
A=87;
// Solution:
z=(40*A)/(0.6*(A^(2/3))+80);
printf("The stable nuclied of the isobaric series is Sr atomic no. = %f",z)
// nereast integer is 38
printf("\n Hence the nuclides of z<38 fall on the left of the limb of B vs Z parabola while the nuclides of z>38 fall on the right ... |
e1bf9783dc021104e77683825642f2532cf12a74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH5/EX5.5/ex5_5.sce | bad9b19c7de6d4186734d75f2047fc55e3312ab7 | [] | 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 | 385 | sce | ex5_5.sce | // Example 5.5, page no-312
clear
clc
Cd=0.6
D=150*10^-3
d=75*10^-3
p=250
g=9.8
rho=1000
s=75*10^-3
//(a)
Q=Cd*3.14*s^2*sqrt(2*g*p/rho)/(4*sqrt(1-(d/D)^4))
printf("(a) For orifice plate\nQ=%f m^3/sec = %.3f litres/sec",Q,Q*1000)
Cd1=0.99
Q2=Cd1*3.14*s^2*sqrt(2*g*p/rho)/(4*sqrt(1-(d/D)^4))
printf("\n\n(... |
73809fd1764e0474d7b24d4aab4b4bbbf2a4b1fb | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/arma_rnd.sci | eaa51edda970d5291d3100d9ef474ca4f71e40ab | [] | 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 | 2,883 | sci | arma_rnd.sci | <<<<<<< HEAD
//Return a simulation of the ARMA model.
//Calling Sequence
//arma_rnd (a, b, v, t, n)
//arma_rnd (a, b, v, t)
=======
function res = arma_rnd (a, b, v, t, n)
//Return a simulation of the ARMA model.
//Calling Sequence
//arma_rnd (a, b, v, t, n)
//arma_rnd (a, b, v, t)
>>>>>>> 6bbb00d0f0128381ee95194cf7d... |
e06341fb1f72ae0b32901e8456dce0567c588c7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH10/EX10.3/EX10_3.sce | 981afb01b7b1a2935ef92fe8f99e7c1a9c7ae83f | [] | 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,134 | sce | EX10_3.sce | //Book - Power System: Analysis & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye
//Chapter - 10 ; Example 10.3
//Scilab Version - 6.0.0 ; OS - Windows
clc;
clear;
Crnttap=6; //Current tap setting in Amperes
TDsetting=1; ... |
78bc229844fc95d0d6ef8b4ae3cd5ed6c4979d94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH1/EX1.34/Ex1_34.sce | 24ff6bf2d7df213dd68d6fc7b5c47c19e7326fed | [] | 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 | Ex1_34.sce | //Example 1_34
clc();
clear;
//To calculate the refractive index of the liquid
D1=1.40 //units in centimeters
D1=1.40*10^-2 //units in meters
D2=1.27 //units in centimeters
D2=1.27*10^-2 //units in meters
u=(D1/D2)^2
printf... |
2d75955d8b6320c0ee545056bccc9c91e25bffb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH21/EX21.10/21_10.sce | f1c07daba3eced1adfe9020a3df19146bd99805a | [] | 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 | 796 | sce | 21_10.sce | //Problem 21.10: A shunt generator supplies a 20 kW load at 200 V through cables of resistance, R = 100 mohm. If the field winding resistance, Rf=D 50ohm and the armature resistance, Ra = 40 mohm, determine (a) the terminal voltage, and (b) the e.m.f. generated in the armature.
//initializing the variables:
Ps ... |
33d8e6e427c48e4671323765b460998a76f66caa | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/man/Man-Part1/calpol/factors.sci | 4aeade7e87be52eeccaaf8908a1ac21f560d251b | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,230 | sci | factors.sci | .TH factors 8 "April 1993" "Scilab Group" "Scilab Function"
.so man1/sci.an
.SH NAME
factors - numeric real factorization
.SH CALLING SEQUENCE
.nf
[lnum,g]=factors(pol [,'flag'])
[lnum,lden,g]=factors(rat [,'flag'])
.fi
.SH PARAMETERS
.TP
pol
: real polynomial
.TP
rat
: real rational polynomial (\fVrat=pol1/pol2\fR)
.... |
175c4f65f90ea9750c998018b0681e39795e8a0d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH5/EX5.2/filter1.sce | fb7eb044ed6a2c6d3205bd1c0725efae7bd6676c | [] | 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 | 491 | sce | filter1.sce | // Bode plots for Example 5.7 on page 141
// 5.2
exec('label.sci',-1);
omega = linspace(0,%pi);
g1 = 0.5 ./ (cos(omega)-0.5+%i*sin(omega));
mag1 = abs(g1);
angle1 = phasemag(g1);
g2 = (0.5+0.5*cos(omega)-1.5*%i*sin(omega)) ...
* 0.25 ./ (1.25-cos(omega));
mag2 = abs(g2);
angle2 = phasemag(g2);
subplot... |
1de94198602df75e8c2b832df545c62766e672ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH1/EX1.4/exa1_4.sce | 1c6c893266afeb0ac403f3797ed2485b1da9a197 | [] | 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 | 378 | sce | exa1_4.sce | clc;
//Example 1.4
//Page no 8
//Solution
//(a)
p1=(10^-2.7)*(10^-3);
disp('W', p1,"-27dBm in absolute power is, ");
//(b)
p2=(10^1.3)*(10^-3);
disp('W', p2,"13dBm in absolute power is, ");
//(c)
p3=(10^4)*(10^-3);
disp('W', p3,"40dBm in absolute power is, ");
//(d)
p4=(10^-5.3)*(1... |
ea90409b635e3c10707821a0c31c958fa233c3da | 449d555969bfd7befe906877abab098c6e63a0e8 | /692/CH4/EX4.6/P4_6.sce | 78f52ddf7b88af4e0e75ff815b73b847836a05de | [] | 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 | 364 | sce | P4_6.sce | //EXAMPLE 4.6
//Order of LP filter
clc;
clear;
ap = 1 //Peak passband ripple in dB
as = 40 //min. stopband atteuation in dB
wp = 1000 //Hz
ws = 5000 //Hz
k = wp/ws;
disp(1/k,'1/k = ');
k1 = 1/(sqrt((10^(0.1* as)-1)/(10^(0.1*ap)-1)));
disp(1/k1,'1/k1 = ');
N=ceil(log10(sqrt((10^(0.1* as)-1)/(10^(0.1*ap)-1)))/log10(1/k)... |
e3308fe04edace794d8bc6300de26304e8572f62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH4/EX4.16/Ex4_16.sce | c94c8a183cb6516ea5e179f0f4c5c1e6e8bc5a4a | [] | 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 | 838 | sce | Ex4_16.sce | // Example 4_16
clc;funcprot(0);
// Given data
P_1=7;// The inlet pressure in kPa
T_1=420;// The inlet temperature in °C
d_1=200;// The inlet diameter in mm
V_1=400;// The inlet velocity in m/s
V_2=700;// The exit velocity in m/s
c_p=1000;// J/kg.K
R=287;// J/kg.K
k=1.4;// The specific heat ratio
// Calcul... |
50608feb633f4b65b38d223a540b58ec4d526130 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH4/EX4.7.3/Ex4_3.sce | d19387ffb5628d38baf3a4fb639bfbebaa926858 | [] | 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 | Ex4_3.sce |
//scilab 5.4.1
//windows 7 operating system
//chapter 4:Metal-Semiconductor Contacts
clc
clear
//given
e=1.6*10^-19//e=charge of an electron in C
Fa=7*10^6//Fa=reverse bias field in V/m
Es=13.1*8.854*10^-12//(Es/Eo)=13.1;Eo=8.854*10^-12
dQ=((e*Fa)/(4*%pi*Es))^(1/2)//dQ=barrier lowering in V
disp("V",dQ,"dQ=... |
da2c466ad24d066123b66c919b889e5601cc4ec0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH2/EX2.10/Ex2_10.sce | 59bf11276e9acb67b731a064182e3848d377ba35 | [] | 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 | 837 | sce | Ex2_10.sce | // Example no. 2.10
// To design single mode fiber such that absolute accumulated dispersion should not exceed 1100ps/nm
// Page no. 77
clc;
clear;
// Given data
lambda1=1530; // Left edge of wavelength range in nm
lambda2=1560; // Rigth edge of wavel... |
089615dc527bee889d0091b239918c0564a73c89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH7/EX7.8/7_8.sce | ca4c56c35a55cd7321b6e8c8e916bd5bcadcb67b | [] | 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 | 259 | sce | 7_8.sce | clc
//initialisation of variables
clear
t= 75 //sec
h= 10.5 //in
h1= 13.5 //in
//CALCULATIONS
r= t*%pi*sqrt(2*h^2)/log((sqrt(2*h1^2)+h1)/(sqrt(2*h^2)-h))
t= -r*((1/h1)-(1/h))
//RESULTS
printf ('A/K = %.f ',r)
printf ('\n Time taken = %.1f sec',t)
|
eec53a587610a40e53c8a701bb61e1b5c1cee27f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2885/CH12/EX12.4/ex12_4.sce | 1dd52d1e19ea13de343087af4181e9be0cf32828 | [] | 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 | 191 | sce | ex12_4.sce | //Calculate frequency of oscillations
clear;
clc;
//soltion
//given
R=22*10^3;//ohm
C=100*10^-12;//F
fo=1/(2*%pi*R*C);
printf("The frequency of oscillations= %.2f KHz\n",fo/1000);
|
5f1dd8d5f104c596db6f2a00286b9a8d55b88e67 | b7a19323e17ceac9d22a1559fbb3e7d61795fd21 | /Systemy Inteligentne 2/Projekt 2/proj2.tst | 393b47c235ed96439b17757ad386cd6a1eacdd56 | [] | no_license | kameshi/STUDIA | 61f53f5722b108a70c862ce6b889a3e890bd8a7f | 11dfad719ed6d409c1e40033e65727f20a0f0a52 | refs/heads/master | 2021-05-11T15:36:57.854563 | 2018-01-16T00:21:56 | 2018-01-16T00:21:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,753 | tst | proj2.tst | we we wy wy wy
x1 x2 klasa1 klasa2 klasa3
-6,449 6,677 1 0 0
-5,973 6,435 1 0 0
-5,476 6,725 1 0 0
-4,731 7,16 1 0 0
-3,882 7,184 1 0 0
-2,847 7,16 1 0 0
-1,915 7,136 1 0 0
-0,756 7,184 1 0 0
0,155 7,063 1 0 0
1,439 6,967 1 0 0
1,832 6,604 1 0 0
2,598 6,701 1 0 0
3,095 6,122 1 0 0
4,813 2,958 1 0 0
4,896 1,195 1 0 0
5,... |
26838d01d02d747a366c86cdf723f03bd7860f11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH5/EX5.10/10.sce | 00683decc248c9dbdeece02b46d2a3916f116b4c | [] | 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 | 396 | sce | 10.sce |
//Variable declaration
EF=5.5*1.602*10**-19; //fermi energy of silver(J)
tow=3.97*10**-14; //relaxation time(s)
m=9.11*10**-31; //mass(kg)
//Calculation
vf=sqrt(2*EF/m); //fermi velocity(m/s)
lamda=vf*tow; //mean free path(m)
//Result
printf('fermi velocity is %0.3f *10**6 m/s \n',... |
024c35fef43146609bb8eb219613095dd9d26e92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH7/EX7.5/ex7_5.sce | e2db776722b4b306d9bd36541491e6086c97996f | [] | 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 | 220 | sce | ex7_5.sce | //Example 7.5, page no-440
clear
clc
//(a)
A=0.226
B=195
t=60
v=A*t-B/t
printf("(a) Fluid X\n v = %.2f centipoises",v)
A1=0.220
B1=135
t1=140
v1=A1*t1-B1/t1
printf("\n(b)Fluid Y\n v = %.1f centipoises",v1)
|
846ab2a3928712f71bc43e71fd0d550d36d221c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH8/EX8.23/8_23.sce | 87547d2c0cd85093e14a08865da9cf6365da34e7 | [] | 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 | 321 | sce | 8_23.sce | v1=3300
v2=600
f=50
Ac=25/10000
l=1.2
Bmax=1.2
fluxmax1=Bmax*Ac
N1=v1/4.44/f/fluxmax1
N2=v2/4.44/f/fluxmax1
disp(N1,N2)
I2=20
pf=0.8
I1=N2/N1*I2
I1=I1*(pf-%i*sin(acos(0.8)))
disp(I1)
Hmax=250
ATmax=Hmax*l
immax=ATmax/N1/sqrt(2)
Ii=0
I1=-%i*immax+I1
disp("lagging", real(I1)/norm(I1), norm(I1))
... |
78dabac316118a0be99e71405a25bf7ac4d45b9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH10/EX10.4/Example10_4.sce | aacb42edbc6bebe254562a15bad80d22ab93dd1e | [] | 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 | 382 | sce | Example10_4.sce | exec('collision.sci', -1)
//Given that
m1 = 30*10^-3 //in kg
h1 = 8*10^-2 //in m
m2 = 75*10^-3 //in kg
g = 9.8 //in m/s^2
e = 1
//Sample Problem 10-4
printf("**Sample Problem 10-4**\n")
//velocity just before collision
Vi = zeros(1,2)
Vi(1) = sqrt(2*g*h1)
Vi(2) = 0
Vf= fsolve([0,0], collision)
pri... |
6775ccc89c4e6a1e7408ec0fa84277b4a3696b7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH8/EX8.7/Ex8_7.sce | c48b8ea8ab5771a9599d21560cc4a1764b582595 | [] | 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,076 | sce | Ex8_7.sce | clc;
N=10000; // Speed in rpm
Q=600; // Flow rate m^2/min
rp=4; // Pressure ratio
eff_c=0.82; // Compressor efficiency
T01=293; // Inlet temperature in kelvin
p01=1.0; // Inlet pressure in bar
Cp=1.005;// Specific heat at constant pressure in kJ/kg K
Cv=0.717;// Specific heat at constant volume in kJ/kg K
... |
a8588ea72b01f4fe7e2b4a29e2a82b7a42bd310d | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH3/EX3.4/example3_4.sce | e9eea1e4e648a229dcc50ad4af4695c8f5b791fb | [] | 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 | example3_4.sce | // To find the Shut resistance of the ammeter
// example 3-4 in paage 43
clc;
//Given data
A=['b' 'a'];
Im=100*10^-6;// FSD(Im) in ampere
Rm=1000;// Coil resistance is 1 K-ohm
// calculation
I=10;// FSD initialisation
m=0;
while I>0.1,
I=I/10;
Vm=Im*Rm;//voltage across the meter in volts
Is=I-Im;//current t... |
bffe5b8d3eef577d51fd9c5b4c0f3dcd18dfa661 | eceaf9b66486ca5c4d180d09195f85651dd59e49 | /LA_Ass3.sce | 494a8f100afa2fe609adbe17e99214a30dcbd83f | [] | no_license | RudraBaksi/LA-Assignment-Submission | 3bdd67e9dec26b678d8bf47cd85f9c21d441cf7d | e37b2b19858281d3c8d9236fcd85dac714a55789 | refs/heads/master | 2020-12-31T10:18:01.626755 | 2020-04-10T12:04:25 | 2020-04-10T12:04:25 | 238,995,744 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | LA_Ass3.sce | disp("Enter the Matrix B")
B = [input("value"), input("value"); input("value"), input("value"); input("value"), input("value")];
disp("the matrix is:")
disp(B)
disp("enter the matrix b")
b = [input("value"); input("value"); input("value")];
disp("the matrix is:")
disp(b)
function least_squares(B,b)
x = (... |
8b10ec9309665b45d0ac2f9ddb7c0059a9f06cfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3792/CH6/EX6.6/Ex6_6.sce | 05d165655935f343049a0e692f7f4a7b226ae97a | [] | 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,066 | sce | Ex6_6.sce | // SAMPLE PROBLEM 6/6
clc;funcprot(0);
// Given data
alpha_0=3;// rad/s^2
m=70;// kg
k=0.250;// The radius of gyration in m
mu_s=0.25;// The coefficient of static friction
g=9.81;// The acceleration due to gravity in m/s^2
DCbar=0.30;// m
r_A=0.250;// m
r_Bi=0.150;// m
r_Bo=0.450;// m
// Calculation
a_t=... |
ace5099e924075a7b8c4301feda5fae0f40d7ac5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH6/EX6.3/6_3.sce | d534222a1cd89e29f6df2503057d3ff3acc02a65 | [] | 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,288 | sce | 6_3.sce | clc;
clear;
//Exmaple 6.3
ic=0.05 //Initial concentration (5%)
fc=0.2 //Final concentration (20%)
T_dash=373 //B.P of water in [K]
bpe=5 //Boiling point elevation[K]
mf_dot=5000 //[Basis] feed to evaporator in [kg/h]
//Material balance of solute
mdash_dot=ic*mf_dot/fc //[kg/h]... |
f394b94bbe4bda7fd00fc47fa5cff8ce3c8fd564 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH13/EX13.3/Example13_3.sce | 4cbc66eb606a120abdc6a6c6aeefdebe9a5fb369 | [] | 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,100 | sce | Example13_3.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 13: RATINGS,SELECTION,AND MAINTENANCE OF ELECTRIC MACHINERY
// Example 13-3
clear; clc; close; // Clear the work space and console.
// Given data
// Class A insulation
T_A = 105 ; // Temperature ... |
fdac274d4bab9471c11274c816b8e24654c845cb | ea4305c7719b828641ab2f920259069c14e53bf9 | /projects/01/Mux4Way.tst | 93255f36398835d6642ca695b73ef08f54c9a1fe | [] | no_license | gantrol/Nand2TerisSolution | 3ecc765f016424052fbeaeda920c7b900237ee1f | 388de8d295278dfba89f7ecf289313e6bf0cbcf8 | refs/heads/main | 2023-06-25T11:09:26.628506 | 2021-07-28T12:59:40 | 2021-07-28T12:59:40 | 376,194,224 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 819 | tst | Mux4Way.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/01/Mux4Way.tst
load Mux4Way.hdl,
output-file Mux4Way.out,
compare-to Mux4Way.cmp,
output-list a%B2.1.2 b%B2.1.2 c%B2.1.2 d%B2.1.2 sel%B2.2.2 out%B2.1.2 ;
set a 0,... |
ace57233911570c2ac8082fe4efa1f6572ee6ca6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH14/EX14.45/example14_45.sce | 1bfa67fed0c345e78e8f80c4ab026dad38127c85 | [] | 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 | 659 | sce | example14_45.sce | clc
// Given that
t = 300 // temperature in K
k = 1.376e-23 // Boltzmann's constant in J/K
c = 3e8 // velocity of light in m/sec
h = 6.62e-34 // Planck constant in J-sec
e = 1.6e-19 // charge on an electron in C
m_ = 4 * 1.67e-27 // mass of helium atom in kg
m = 1.67e-27 // mass of hydrogen atom in kg
// Sample Probl... |
aa7fbc9815fabfbd84518abfc0b7bba19160c62c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH4/EX4.20/ex4_20.sce | 07604d82b4e2b729d7581c344303efbb062c0732 | [] | 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 | 856 | sce | ex4_20.sce | //Chapter-4, Example 4.20, Page 147
//=============================================================================
clc
clear
//CALCULATIONS
//given voltage eqn is v=100+(100*sqrt(2))*sin(314*t) volts
W=314;//freq in rad/sec
R=5;//resistance in ohms
X=12;//reactance in ohms
Z=R+((%i)*(X));//impedance in ohms
... |
5f3bb5debd0bbceb73c78155a702874c20767c8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH12/EX12.8/12_8.sce | deda55bbd8028aa2f7cab1e5316ba20be92c9086 | [] | 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 | 315 | sce | 12_8.sce | clc
//Initialization of variables
T1=70+460 //R
P1=14.7 //psia
g=1.4
r=15
rc=2
cp=0.24
cp2=0.1715
//calculations
T2=T1*(r)^(g-1)
T3=rc*T2
T4=T3*(rc/r)^(g-1)
Qh=cp*(T3-T2)
Ql=cp2*(T4-T1)
W=Qh-Ql
eta=W/Qh
//results
printf("Work output = %d B/lbm",W)
printf("\n Efficiency = %.1f percent",eta*100)
|
253f36baabde6e350790f3e662e79e456d700366 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH3/EX3.19/EX3_19.sce | 1e1097f2b299dc25d2c3cf820d1046b89d29ea59 | [] | 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 | 1,143 | sce | EX3_19.sce | clc;funcprot(0);//Example 3.19
//Initilisation of Variables
L1=0.2;.....//Length of slab in m
L2=0.1;......//Breath of slab in m
Ti=225;...//Initial temparature of brick in degrees celcius
h=60;...//heat transfer coefficient on surface of the brick in W/m*K
Ta=25;...//Ambient air temparature in degrees celcius
t... |
13743fab856ad61237e619db755bf4caa7306438 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH2/EX2.3.1/CH02Exa2_3_1.sci | f333dccc1eac710f70e68d88bfbc3252f3fad19d | [] | 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 | 611 | sci | CH02Exa2_3_1.sci | // Scilab code Exa2.3.1 To calculate the mass of decayed radioactive material: Page 126 (2011)
t_prime = 1600; // Half life of radioactive material, years
t = 2000; // Total time, years
lambda = 0.6931/t_prime; // Decay constant, years^(-1)
m0 = 1; // The mass of radioactive substance at t0, mg
m = m0* %e^(-(lamb... |
179ba125a637a9d7f91800b885c0f62de8e99cbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH13/EX13.8/example13_8.sce | 86af6e81b0ee1e97da5bdef9558599559df60356 | [] | 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 | 216 | sce | example13_8.sce | clear
clc
//Example 13.8 FLOW RATE FOR A TRIANGULAR WEIR
H=0.43; //head on weir[m]
g=9.81; //[m/s^2]
//Discharge
Q=0.179*sqrt(2*g*(H^5)) //[m^3/s]
printf("\n The flow of water over the weir = %.3f m^3/s.\n",Q) |
ff501dfcc70b0e8e46bc82f9416acf865315eb7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH6/EX6.11/Ex6_11.sce | 3b41774825750742a2ddb2aad3d8173536b05705 | [] | 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,081 | sce | Ex6_11.sce | clc
Nd=1*10^18
disp("Nd = "+string(Nd)+" cm^-3") //initializing value of donor concentration.
Na=-1*10^18
disp("Na = "+string(Na)+" cm^3") //initializing value of acceptor concentration.
Er=11.9
disp("Er = "+string(Er)) //initializing value of relative dielectric permittivity constant .
Eo=8.854*10^-14
disp("Eo... |
3c4917ef3a1806bf296035fa50acb8f65f97ec4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH1/EX1.7/1_7.sce | 91fb38b4f7288421d14ef397dad4e7bfa928f465 | [] | 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 | 539 | sce | 1_7.sce | //Chapter-1,Example 1_7,Page 1-19
clc()
//Given Data:
i=30*%pi/180 //angle of incidence
u=1.43 //Refractive index of a soap film
lam=6*10^-7 //wavelength of light
n=1 //For minimum thickness
//Calculations:
//u=sin i/sin r //Snell's law .So,
r=asin(sin... |
38ed16f95b32a867451505dd31dfa708f79a8b21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH9/EX9.16/9_16.sce | 1caf54bd5d1af821e72596ab8d2e411a5773e904 | [] | 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 | 9_16.sce | clc;
clear;
W=2.45*(10^(-2));//N
D=3.8*(10^(-2));//m
U=12;//m/s
//W=L
d=1.23;//kg/(m^3)
CL=2*W/(d*(U^2)*%pi*(D^2)/4);
W=0.5*d*(U^2)*(D^2)*%pi*CL/4;
//using this value of CL, omega*D/(2*U)=x is found as
x=0.9;
omega=2*U*x/D;//rad/sec
angvel=omega*60/(2*%pi);//rpm; where angvel is angular velocity
disp("rpm",angvel,"Th... |
742a5aa8ff14f0b045e70b858f4ae38d6f9a8707 | a6e16f8b4e3e9dfb7a8b6f323b7e35fb82537222 | /C/Pascal Fellerich/PAULA/VER_2_6+/SYSTEM.TST | 2562b9faa1984d64d679951b9568a37d2faa20b3 | [] | no_license | pjones1063/Atari_ST_Sources | 59cd4af5968d20eb3bf16836fc460f018aa05e7c | fe7d2d16d3919274547efbd007f5e0ec1557396d | refs/heads/master | 2020-09-04T20:21:44.756895 | 2019-10-30T12:54:05 | 2019-10-30T12:54:05 | 219,878,695 | 2 | 0 | null | 2019-11-06T00:40:39 | 2019-11-06T00:40:39 | null | ISO-8859-1 | Scilab | false | false | 21,109 | tst | SYSTEM.TST | *************************************************************************
*
* SYSTEM.S
* --------
*
* MODPlayer low level routines: Hardware accesses etc.
*
*
*
* last modified: 13-Jan-1993
* 14-sep-1994 (tas -> bset)
*************************************************************************
i... |
266324106e149e41bfe77c0fdbbcf045a64c9ef0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH2/EX2.10/2_10.sce | b26bb40ddf28c80281bcd568f2919e00693b6660 | [] | 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 | 2_10.sce | //Problem 2.10: An electric kettle has a resistance of 30. What current will flow when it is connected to a 240 V supply? Find also the power rating of the kettle.
//initializing the variables:
V = 240; // in Volts
R = 30; // in ohms
//calculation:
I = V/R
P = V*I
printf("\n\nResult\n\n")
printf("\nCurren... |
db54ba40cdcc04e06caea54a6c040a8d0b4c400c | 8627886261b3eddf8440c0b470cd9ee25c762d97 | /laba9e.sce | 86b55951d12ea6f8cdf8b5bd2f4282da25054a8e | [] | no_license | timurzotov/pvis | ba75cf86fae91b6adc8dd3fe9cd2672eea561cca | d60e8e241d6ce0ad3a9b2a75c8771f92a9b039ba | refs/heads/master | 2020-09-08T07:59:31.719500 | 2019-11-11T21:14:13 | 2019-11-11T21:14:13 | 221,070,925 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 80 | sce | laba9e.sce | //9e
clf
t=-%pi:0.3:%pi; plot3d1(t,t, sin(t)'*cos(t), 35, 45, 'X@Y@Z', [2,2,4])
|
6cd459e34cd45982da1d547af00c4fe672c2db3d | 1b3c63cb7f854378c5f1991637692ae2bf8265ac | /rbs/testfiltbutter.sce | db714d8fb66e7e0ad9e81bb3cdb39bdeb6a088cb | [] | no_license | FOSSEE-Internship/FOSSEE-Control-Systems-Toolbox | 9900107267e5f508f77858d128e01293966e9e10 | 2878a38e4e55806b1777f9da2e0395f321e1c952 | refs/heads/master | 2020-12-02T18:20:34.659219 | 2017-10-26T12:26:57 | 2017-10-26T12:26:57 | 96,516,803 | 0 | 1 | null | 2017-10-26T13:44:56 | 2017-07-07T08:24:44 | Scilab | UTF-8 | Scilab | false | false | 400 | sce | testfiltbutter.sce | data=rand(100,3);
n=5;band=[0.2 0.8];
u=filtbutter(data,n,band)
savematfile("testbutter.mat",'data','n','band')
//here for a given input ,if the output of these filters will be same for given same
//input the corresponding result of rbs function will also be same as rest all part of
//rbs function just adjus... |
0627fc890ce6d38c7e6d644d49fb6c8cf177ae11 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH14/EX14.10/14_10.sce | a4f718b41b5ddf1b82f9e61ea59d06a2f0353915 | [] | 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,365 | sce | 14_10.sce | //To find centrifugal and gyroscopic effects
clc
//Given:
m=2500 //kg
x=1.5, R=30, dW=0.75, rW=dW/2, h=0.9 //m
v=24*1000/3600 //m/s
G=5
IW=18, IE=12 //kg-m^2
//Solution:
//Calculating the road reaction on each wheel
r=m*9.81/4 //Road reaction on each wheel, N
//Calculating the angular velocity o the wheels
... |
e44453a3cbc55610e34b52a7cc289cf1f0b94841 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_xrep_1_d.tst | de6fccc862626340bba0e754d8782cde02105393 | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 674 | tst | test_xrep_1_d.tst | // [(start test_spec)]
if( !get_obj( ).get_key( ).empty( ) )
{
string value;
if( !is_null( get_obj( ).First( ) ) )
{
if( !value.empty( ) )
value += ",";
value += to_string( get_obj( ).First( ) );
}
if( !is_null( get_obj( ).Second( ) ) )
{
... |
a9360eed798df7a3571cc6b65bf62ca2ecbd7d60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH17/EX17.1/Ex17_1.sce | 23979a96f0b37f04c72b345d28f75fc0260228ea | [] | 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 | 640 | sce | Ex17_1.sce | // Initilization of variables
m=0.1 // kg // mass of ball
// Calculations
// Consider the respective F.B.D.
// For component eq'n in x-direction
delta_t=0.015 // seconds // time for which the ball &the bat are in contact
v_x_1=-25 // m/s
v_x_2=40*cosd(40) // m/s
F_x_average=((m*(v_x_2))-(m*(v_x_1)))/(delta_t) ... |
463d2808c0b36e93362c7cc00e3b40872c9d4e98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH17/EX17.2/Ex17_2.sce | ae38b97bbd0f3137dcae0c00f79d12ad8b78f3f0 | [] | 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,479 | sce | Ex17_2.sce | clc
P1 = 0.18 // Diffuser static pressure in MPa
R = 0.287 // Gas constant
T1 = 37 // Static temperature
P0 = 0.1// Atmospheric pressure in MPa
A1 = 0.11 // intake area in m^2
V1 = 267 // Inlet velocity in m/s
w = (P1*1e3/(R*(T1+273)))*A1*V1 // mass flow rate
g = 1.4 // Heat capacity ratio
c1 = sqrt(g*R*(T1+2... |
4d8410b0ad88859c3b9ffa065e44a1f03050ce84 | dc5a2fe4380e1453a12f15f5080b10f3ababb9de | /AutomationTools/bin/1.0/common/ATLAS/tools/txtfile/sh_asys_2pc.tst | 2d90923788255efe234ed7b93f03dc223e0489c7 | [] | no_license | jameshilliard/PythonCode | f72ad62bb8b8cafbc94cbe7c0d3065343fdf0f98 | 422543bc049f57a67d53ec0b89caef076297cdc5 | refs/heads/master | 2020-04-09T00:06:25.689609 | 2015-03-14T13:14:34 | 2015-03-14T13:14:34 | 32,722,067 | 3 | 0 | null | 2015-03-23T09:21:52 | 2015-03-23T09:21:52 | null | UTF-8 | Scilab | false | false | 8,115 | tst | sh_asys_2pc.tst | -v G_USER=jnguyen
-v G_CONFIG=1.0
-v G_TBTYPE=asys
-v G_TST_TITLE="Advanced system config"
-v G_PROD_TYPE=MC524WR
-v G_HTTP_DIR=test/
-v G_FTP_DIR=/log/autotest
-v G_TESTBED=tb1
-v G_FROMRCPT=qaman
-v G_FTPUSR=root
-v G_FTPPWD=@ctiontec123
-v U_USER=admin
-v U_PWD=admin1
-v G_LIBVERSION=1.0
-v G_LOG=$SQAROOT/automatio... |
c7ad62ba28154121b96a084ab6a9efbd54249fbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH8/EX8.9/Example8_9.sce | 412f318d1de01910adc2a76db1d28212c19473a9 | [] | 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 | Example8_9.sce | clc
//Given that
R_e = 6.4e6 // radius of Earth in km
M_e = 6e24 // mass of Earth in kg
G = 6.67e-11 // universal gravitational constant
u = 6e3 // initial speed of rocket in m/s
// sample problem 9 page No. 302
printf("\n\n\n # Problem 9 # \n")
printf("Standard formula used U_f - U_i = 1/2 * m *(u^2 - v^2... |
1340968d093d0699fa7edf06622267dd64bcac4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH1/EX1.1.48/Ch1_1_48.sce | 11897c26b1eedb3caf5712c0bcf76ee6dbbb1fcb | [] | 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 | 628 | sce | Ch1_1_48.sce | clc
disp("Example 1.48")
printf("\n")
disp("Find the maximum forward current")
T1=25 //to find maximum forward current at this temperature
T2=65 //to find maximum forward current at this temperature
PT1=600*10^-3 //maximum power dissipation at 25c
D=5*10^-3 //derating factor
VT1=0.6 ... |
422363619d99fcdfc728d7e4266eb890d511233f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH4/EX4.14/Example414.sce | f3b059b2570b302b9b68480bb341ab1d064ce1d7 | [] | 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,085 | sce | Example414.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 4, Example 14")
disp("The absolute Mach number of the air at the impeller tip is:")
disp("M2 = C2/(gamma*R*T2)^0.5")
disp("where T2 is... |
c1e29dcf681ef70fb5f7130feebdca997dd6b52b | f5b5eb0883c7795cf090ef64be0e5f9a59596d8d | /instruction_nf.sce | 02ea364814032fc133e5a1c63c973d58fc2cb948 | [] | no_license | scottb/balljudgement | 97bd2278177d3791840e4344be1c69eb354a9373 | 83635642df25dc3e4b9419e8381a3bee61d82d54 | refs/heads/master | 2016-09-06T17:44:10.199040 | 2011-02-17T03:44:39 | 2011-02-17T03:44:39 | 1,548,423 | 0 | 1 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 912 | sce | instruction_nf.sce | scenario = "instruction for ball movement judgment without feedback";
no_logfile = true;
scenario_type = trials;
active_buttons = 1;
button_codes = 99;
screen_width = 1024;
screen_height = 768;
screen_bit_depth = 16;
default_font_size = 20;
begin;
picture {} default;
trial {
trial_type = first_response;
trial... |
8088b4fd71ca0d32fe3bcfa5b5ddcb484bee8498 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH4/EX4.8/4_8.sce | d654adc12220b6fe430082966a2dde34e405415c | [] | 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,368 | sce | 4_8.sce | //curve fitting by sum of exponentials
//example 4.8
//page 137
clc;clear;close;
x=[1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1. 1.9];
y=[1.54 1.67 1.81 1.97 2.15 2.35 2.58 2.83 3.11];
s1=y(1)+y(5)-2*y(3);
h=x(2)-x(1);
I1=0;
for i=1:3
if i==1|i==3 then
I1=I1+y(i)
elseif (modulo(i,2))==0 then
... |
f7d05b11ea71a0cf32ca637db0414ac4928d50df | 449d555969bfd7befe906877abab098c6e63a0e8 | /1943/CH4/EX4.2/Ex4_2.sce | d54483c5669d8372b2e2bfcc8cb355afa2f18dd1 | [] | 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 | 694 | sce | Ex4_2.sce |
clc
clear
//Input data
CO2=11.5;//Percentage of carbondioxide present in combustion in %
O2=2.7;//Percentage of oxygen present in the combustion in %
CO=0.7;//Percentage of carbonmonoxide present in the combuston in %
//Calculations
a=85.1/3.76;//Equating moles for nitrogen from the equation
x=(CO2+CO)/3;... |
f0a5cf330e329bb41207e3d3ac128fac4a2a4c71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH11/EX11.5/Program11_5.sce | 1edd39d516ed274c508ce1b1eef785fd3a5a8f34 | [] | 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 | 270 | sce | Program11_5.sce | //Program 11.5
//Program To Calculate the value of the function
//Y=A*X1+B*X2+C*X3
clear;
clc;
close;
//Data
A=1;
B=2;
C=3;
X1=4;
X2=5;
X3=6;
//Compute the function
Y=A*X1+B*X2+C*X3;
//Display the result in command window
disp(Y,"Y = A*X1+B*X2+C*X3 = "); |
ca1637fe3e1c8c26102861cba3317865fe95d151 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH13/EX13.2/Ex13_2.sce | 2bf8392bd0088788b402a0a2fe036f1064588930 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | Ex13_2.sce | clc//
//
//
//Variable declaration
n1=1.563; //refractive index of core
n2=1.498; //refractive index of cladding
//Calculation
NA=sqrt(n1^2-n2^2); //numerical aperture
alpha_i=asin(NA); //angle of acceptance(radian)
alpha_i=(alpha_i*180/%pi); //angle(degrees)
alpha_id=int(alpha_i);
alp... |
79dbd351e9ae54fa1b68715cd955ffa2dd8d3353 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/var/var10.sce | 2ecf4506d808a14192e94c29929b4802311aea32 | [] | 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 | 425 | sce | var10.sce | //check op when the i/p contains imaginary elements
A = [4*%i -2 1; 9 5 7];
v=var(A,0,1);
v2=var(A,0,2);
disp(v);
disp(v2);
//output
//!--error 10000
//stdev: Wrong type for input argument #1: A real matrix expected.
//at line 58 of function stdev called by :
//at line 64 of function var called by :
//v=... |
b3e7a1df0495cdbe3a037e654adfc5befdb749bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH7/EX7.25/Example7_25.sce | e280847ac06d2cc69ba26d5789320e6272bc3a13 | [] | 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,754 | sce | Example7_25.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART I : GENERATION
// CHAPTER 7: TARIFFS AND ECONOMIC ASPECTS IN POWER GENERATION
// EXAMPLE : 7.25 :
// Page number 85
clear ; clc ; close ; // Clear the work space and ... |
8b71a57dafd6f4c33d947b72e410d61c6e444119 | 86ae7e24466d959da945d5b6d8ab93354a9e8a1d | /exp5.sce | b3df0d24244bbe19c9e2143d8c5391e29131fcc9 | [] | no_license | AnujaNagare/Scilab-Programs | be27fdeb0db8cfa4b00ac5121676b18412b8a222 | 4152eac1a3e87ec7408fb3dfea55cac984cca2d9 | refs/heads/master | 2021-08-30T16:53:33.876536 | 2017-12-18T19:11:47 | 2017-12-18T19:11:47 | 114,677,855 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 711 | sce | exp5.sce | clc
clear
pi=22/7;
angle1=input('enter angle of rotation in yaw in degrees : ');
a1=pi*angle1/180;
angle2=input('enter angle of rotation in pitch in degrees : ');
a2=pi*angle2/180;
angle3=input('enter angle of rotation in roll in degrees : ');
a3=pi*angle3/180;
i=[2;3;4];
r1=[1 0... |
39b815f013717fcbecfeb8657107bbd10c2b57b9 | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/comment/0063.tst | 9825ac378aed4d855b2677fef70adf51613be44c | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9 | tst | 0063.tst | ;8f9@[i
|
d108cb064cd15190456748ee3da234ddbcf331a5 | 8fe55d112060809ed521b7cedb7fdc8bde130268 | /assets/scene/fixJoint.sce | 571acc9f8f6ea53ab69a4cce0ec9947e13b52e27 | [] | no_license | excfergodst/dod | 9e74d67d75575c0227ff7c3a268349ac7e41e7c0 | b25896d75b7efba8d2c5248360dafbd798081939 | refs/heads/master | 2023-01-10T04:39:43.529750 | 2020-11-08T14:07:23 | 2020-11-08T14:07:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,526 | sce | fixJoint.sce | {
"Scene": {
"ptr_wrapper": {
"id": 2147483649,
"data": {
"value0": 3,
"value1": 0,
"value2": {
"Tag": "Entity 0",
"Id": {
"uuid": "03c79354-9491-438c-b3c6-21fd22e7c945"
... |
4a553c740067f093c540f4319645e822baa1c28d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1016/CH5/EX5.16/ex5_16.sce | 0168a039d511ceb8d306124eca00c937630297b1 | [] | 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 | 197 | sce | ex5_16.sce | clc;clear;
//EXample 5.16
//given data
Wo=5000;//wavelength in angstrom
V=3.1;//stopping potential in V
//calcualtion
W=1/((V/12400)+(1/Wo));
disp(W,'The unknown wavelength in Angstrom') |
5898bf0481c9418bad73f7b1d7da2fecfac97b24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH7/EX7.6/Ex7_6.sce | 33417cc139534b57eb21dbfbc439d85ed490cec1 | [] | 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,320 | sce | Ex7_6.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 7 : THREE-PHASE INDUCTION MOTOR
// Example : 7.6
clc;clear; // clears the console and command history
// Given data
V_1 = 150 // supply voltage in V
P = 4 // number... |
2c728477a2528f7429c016a6786d43918344aaa2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH12/EX12.3/Ex12_3.sce | f11fbef39bc8f4595e827a17b6f9c85d56b307eb | [] | 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 | 289 | sce | Ex12_3.sce | //Example 12.3, page 445
clc
h=6.63*10^-34//in J-s
I=(2*%pi)^2*2.66*10^-47//in kg-m2
m_H=1/(6.02*10^26)//in kg
E=(h^2)/I
printf("\n The energy is %e J",E)
s=.59*10^-19//in J
k=1.38*10^-23//in j/k
T=(s)/k
printf("\n The temperature is %f K",T)
//Answer diffrence is because of round off |
53a9151b32693359eaab726722f27107ef7cf7eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH5/EX5.3/5_3.sce | efc74516748c27d30e08c21c469a9e4fcc359bbc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 500 | sce | 5_3.sce |
//data
R2=62.5*10^3 //ohm
E=1
L1=320*10^(-9) //H
L2=20*10^(-9) //H
//formula and result
printf("\nresult:-")
n=sqrt(E*L1/L2)
printf("\nn=sqrt(E*L1/L2)=%.0f",n)
R1=n^(2)*R2
printf("\nZ1=n^2*Z2\nY1=Y2/n^2=1/n^2*complex(1/R2,W*C2)\n\nR1=n^2*R2=%.0e ohm\n",R1)
C1=(6+1/4^2*30.7)*10^-12
printf("\nC... |
075ce584cad0a9a5992be11d221b7bd60dda3312 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH22/EX22.15/Ex22_15.sce | 29e02dfc12d33873a822469003670a5a49a8f0d0 | [] | 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,546 | sce | Ex22_15.sce | // Example 22_15
clc;funcprot(0);
//Given data
T_1=400;// °C
p_1=40;// bar
p_2=2;// bar
p_3=0.5;// bar
p_4=0.05;// bar
n_t1=75/100;// The isentropic efficiency of the first stage of the turbine
n_t2=80/100;// The isentropic efficiency of the second stage of the turbine
n_t3=85/100;// The isentropic efficiency... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.