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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
07081bdc1de5aeb22c2eaf244b13f6246a89d467 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3517/CH5/EX5.5/Ex5_5.sce | 1454ccb2a5919e27ad105f7ee66096b97b37e244 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex5_5.sce | //Caption:Calculate lowest operating frequency for circuit
//Ex5.5
clc;
clear;
close;
V=4//Peak to peak amplitude of output waveform(in volts)
Vi=10//Input voltage(in volts)
Vs=15//Supply voltage(in volts)
Ib=500//Maximum Base current(in nA)
f=250//Frequency of input waveform(in hz)
I=1//Circuit current(in mA... |
8677a658c89eac62913a7d47ffa3037bab64f05a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH4/EX4.18/Ex4_18.sce | 48f9ecb18da6ab7b11a751f2e81f548eafaa8a9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_18.sce | clear
//
//Initilization of Variables
F=30*10**3 //N //Shear Force
//Channel Section
d=400 //mm //Depth of web
t=10 //mm //THickness of web
t2=15 //mm //Thickness of flange
b=100 //mm //Width of flange
//Rectangular Welded section
b2=80 //mm //Width
d2=60 //mm //Depth
//Calculations
//Distance of Centroid From T... |
9f0ab512b8a473775fbd29332a2e3ce893c52bac | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/firtype.sci | 4fa1122d8d4f35aa06d4cb448c2a3a60807753e2 | [] | 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 | 798 | sci | firtype.sci | //Author: Parthasarathi Panda
//parthasarathipanda314@gmail.com
function typ=firtype(b)
if (type(b)~=1) then
error('check input type');
end
v=size(b);
if length(v)>2 then
error('check input dimension');
end
if v(1)~=1 & v(2)~=1 then
error('check input dimension');
els... |
3e74dc350c8feca96a68eb67f044cf5528a7e1d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/DEPENDENCIES/delta.sce | ec11dea2f4ba826b2ffab7ab2a4492f4c54e1174 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 87 | sce | delta.sce | clc;
//
function [y]=delta(t)
if t==0
y=1
else y=0
end
endfunction
|
e3c27464d46da6878080c9dd1859ceb97500df9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH3/EX3.2/3_02.sce | 43a501ad4049d5d2fb0e368112a84a28bc020383 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | 3_02.sce | //Example No. 3_02
//hexadecimal to decimal
//Pg No. 46
clear ; close ; clc ;
h = '12AF' ;
u = str2code(h)
u = abs(u)
n = length(u)
d = 0
for i = 1:n
d = d*16 + u(i)
end
disp(d,'Decimal value = ')
//Using Scilab Function
d = hex2dec(h)
disp(d,'Using scilab function Decimal value = ') |
15ed87b9abff2312ce7ddf7c774c5e2f95709cc2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH3/EX3.10/Ex3_10.sce | 24dab07ee6bde3a7c1aed600b13734bad6457478 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_10.sce | clear ;
clc;
// Example 3.10
printf('Example 3.10\n\n');
printf('Page No. 71\n\n');
// given
C = 2500;// Cost of the project
P = 1000;// Cash in flow
r_r = 0.12;// Rate of return
S = 0;// Zero salvage value
n = 4;//years
for j= 1:1:4 // as for four years
d_(j) = P*(1/(1+r_r)^j);
end
P_v =... |
01df26b96c3e0889a6b4520a72e532f8a79e6257 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH3/EX3.2/Ex3_2.sce | 74cdfca1efa63d3ad16767df7dfed4d6a0d13b4a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | Ex3_2.sce |
clc
//initialisation of variables
v=15//ft^3
m=20 //lbm
M=24 //lbm/lb
T=540//R
//CALCULATIONS
R=1545/M //ft-lbf/lbm R
P=(m*R*T)/(144*v) //lbf/in^2
//RESULTS
printf('the presure=%f lbf/in^2',P)
|
b412341910476a20c9a8a9db52cf2387221750ad | 3daf46b810f462d6c8e936bef696ade9bd2e41a8 | /AulaPratica1/Gaussian_Elimination_2.sce | e29bbededb4b975ec15c9ec77b5795cc03ff0110 | [] | no_license | JPMarciano/Algebra-Linear-Numerica | 4575a2bd95a4b056100a7d8adaaeb2a0a0fee2d4 | 6d2c8555650b5f8a156f3d1c207c77f6986b8fcd | refs/heads/master | 2021-03-12T14:27:28.360160 | 2020-05-11T14:59:05 | 2020-05-11T14:59:05 | 246,628,921 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,276 | sce | Gaussian_Elimination_2.sce | //Variáveis de saída:
//x: solução do sistema Ax=b (assumimos que tal solução existe).
//C: Seja A=LU a decomposição LU de A.
//Então C(i,j)=L(i,j) para i>j e C(i,j)=U(i,j) para j>=i.
function[x, C]=Gaussian_Elimination_2(A, b)
C=[A,b];
[n]=size(C,1);
for j=1:(n-1)
//O pivô está na posição (j,j)
... |
bf3fe9cfd42ce7f20b55a8f0d20ae9882e7e7c92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3814/CH2/EX2.13/Ex2_13.sce | d3c6555e955bf8dd41e09db365b90f598242e4d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_13.sce | // force is necessary to hold the defelector inplace in 32kg/s
//ex 2.13 pgno.51
clc
m=32 // MASS FLOW RATE
p=1000 // PRESURE
l=0.02//length
b=0.04//width
v1=m/(p*l*b)//velocity
mprintf('The velocity V1 = %d m/s',v1)
v2=40
Fx=m*(v1-v2*cosd(30))//fource
mprintf('\n Fx= %d N',Fx)
Fy=m*(v1-v2*sind(30))
mprint... |
725b57c4a0e6296288fce6d34ac58c84ab8ea310 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH7/EX7.6.1/7_6_1.sce | 4cab4d0585341a195348d4eef5168f1d35ab6877 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 320 | sce | 7_6_1.sce | //Transport Processes and Seperation Process Principles
//Chapter 7
//Example 7.6-1
//Principles of Unsteady state and convective mass transfer
//given data
rb=6/(10^9);//pore radius
Ma=2.016;//mol wt of hydrogen
T=373;//temp in K
Dka=97*rb*sqrt(T/Ma);
mprintf("the knudsen diffusivity is %f m2/s",Dka)
//end
|
312436072c17ea900a7f5ff93f8c185de079b4e1 | 971b52073b0a9541c928a42091aba77bddc0743c | /A2/results/result0s0.tst | 2ae8d7806ee562b0484e25a7aa23732f3964208e | [] | no_license | minminmail/FARCHD_Negative_Rules | 66cb7fd637a9394939688d5a9a804bdcdb9e7f47 | eb69bae9ffe5b94f3191b5456ea15fffacaa3e76 | refs/heads/master | 2023-07-22T15:50:10.413213 | 2021-08-27T06:03:30 | 2021-08-27T06:03:30 | 327,358,135 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,680 | tst | result0s0.tst | @relation
@attribute f1 real[0.19,16.0]
@attribute f2 real[0.0,12.0]
@attribute class{red,green}
@inputs f1,f2
@outputs class
@data
green green
green green
red red
red red
green green
green green
green green
green green
red green
red green
red green
green green
green green
green green
green green
green green
green gr... |
7c1c8781489ea7ad3c468e467549712e37982430 | 9224090b07cb3f466fe72819cf90ca0c4dedc901 | /Exercise 3/Exercise 3a.sce | ccb47edebce5c77a232973039bb8224dc3d55d76 | [] | no_license | MGYBY/advanced_ocean_modelling | 8c383b09f4077174559bd7964062625012026fa0 | 848f0f4d616d472021c31582b64557f04067ce74 | refs/heads/main | 2023-07-14T14:37:57.714203 | 2021-08-20T20:13:49 | 2021-08-20T20:13:49 | 398,386,684 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,735 | sce | Exercise 3a.sce | //==========================================
// Exercise 3: Short Surface Gravity Waves
//==========================================
// Animation of equivalent vertical displacements of pressure surfaces
//Author: Jochen Kaempf, 2015 (update)
f = gcf(); scf(0); f.figure_size = [700,400]; f.children.font_size = 3... |
cec15ff41d0284c3418f6695c4280bbbf2b59692 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH2/EX2.39/2_39.sce | 575b14bb71a0c47147c7c0b1ec4472826a7937f8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 486 | sce | 2_39.sce |
clc;
clear;
//Example 2.39
//Given
h=11.36 //W/sq m.K
k=43.3 //w/(m.K)
r=25.4 //radius in mm
r=r/1000 // radius in m
A=4*%pi*r^2 //Area of sphere [sq m]
V=A*r/3 //Volume in [cubic m]
rho=7849 //kg/cubic m
Cp=0.4606*10^3 //J/kg.K
t=1 //hour
t=t*3600 //seconds
T_inf=394.3 //[K]
T0=700 ... |
af1075a8c473994830e6b687967ec814814b1373 | 65ef1d117ebd0057d00bfbf94632bbb39d99fd16 | /Desktop/DS/lab1/Result.sce | 5733217589189db3121a125b4f8f39c1570ccbd2 | [] | permissive | Sasha-OS/LifeGame | a12ee0759b523484c9f25277ce6b9583f1ae06f3 | b41d9919e6f870a2304817cbfcfa566b9890ca6b | refs/heads/master | 2023-04-28T21:59:27.715985 | 2020-10-19T13:56:06 | 2020-10-19T13:56:06 | 267,084,515 | 1 | 1 | MIT | 2021-05-23T18:07:02 | 2020-05-26T15:43:17 | JavaScript | UTF-8 | Scilab | false | false | 2,365 | sce | Result.sce | rand("seed", 9504);
T = rand(10,10) + rand(10,10);
A = floor((1.0-0.02-4*0.005-0.25)*T);
disp(A);
for i=1:10
for j=1:10
if(A(i,j)==1 && A(j,i)~=1) then
A(j,i)=1;
end
end
end
disp(A);
clf;
plot2d([0,100], [0,100],0);
function circle(x, y, r)
xarc(x-r, y+r, 2*r, 2*r, ... |
919c5323020e1c42feb32504569e9cc873cd8675 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH10/EX10.6/Ex10_6.sce | 7dc720be9a1378b75f83d8628d0a9e507f7ed57f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,350 | sce | Ex10_6.sce | // Example 10_6
clc;clear;
//Given data
// Assume (vdot/L)_1=V1,(vdot/L)_2=V2;
V1=2.00;// m^2/s
V2=-1.00;// m^2/s
gamma1=1.50;// m^2/s
x_1=0;
y_1=1;
x_2=1;
y_2=-1;
x=1.0;
y=0;// where all spatial coordinates are in meters.
//Calculation
//From fig.10-53,The vortex is located 1 m above the point (1, 0) a... |
b62e5442b88cef6310fef7929f9b6aff1020c69b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH2/EX2.5/Ex2_5.sce | 2b45e43fa1fea1cabee9ebcd772b8241a0a9bc08 | [] | 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 | 138 | sce | Ex2_5.sce | errcatch(-1,"stop");mode(2);//Ex:2.5
;
;
r=27*(10^3);
printf("Resistor value = %d ohm",r);
printf("\nTolerance = 5 %%");
exit();
|
df58a9f457293119db388a2a2170f9bca79170ac | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpassrateup/test_5.sce | 4052b5eacad9ad5f564d7cf9e889da25885bc540 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | test_5.sce | // Test #5 :For 1 output argument
exec('./allpassrateup.sci',-1);
[n]=allpassrateup(8);
disp(n);
//
//Scilab Output
//n= 0. 0. 0. 0. 0. 0. 0. 0. 1.
//
//Matlab Output
//n= 0 0 0 0 0 0 0 0 1
|
82f5f47cec0534a7adb3354b8676e71d04288cd2 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /IOs/PIL_dir_path.sci | a9535d350e2b5a4e6aaea8d683240f2f3f308b91 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sci | PIL_dir_path.sci | // **** Purpose ****
// This function add a '/' to the directary path
// **** Variables ****
// [dir_path]: 1x1, str
// <= original path
// => path with '/' ending
// **** Version ****
// Apr 22, 2016: 1st version
// **** Comment ****
function dir_path=PIL_dir_path(dir_path)
if dir_path==[] then
dir_pa... |
b96c56b42901ffbf4b5eec3cca59b32954eb974d | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_4/Scilab_codes/unity_negative_feebdback_2.sce | 02a634eedcb810f25b7a8b7cf8b2c494d3c8742d | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sce | unity_negative_feebdback_2.sce | clear
close
clc
s = poly(0,'s');
G = 10/(s*(s+2)*(s+4));
K = 2;
G_cl = K*G/(1+K*G);
disp(G_cl,' The transfer function of the closed loop system is ')
|
1a5a46c36bb64caeae36e3adca04cefee4400f98 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/CT29HRN/ATWM1_Working_Memory_MEG_CT29HRN_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | 4e10258195dd83f31ccedf1fba6bbad6082f713d | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,596 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
8dde9eaee5a4f0b4e0974312c612230fb594a1f4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/m2sci/mfile_path.sci | 6939ff798957e4f954371af10a8790ae0de57f90 | [
"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 | 227 | sci | mfile_path.sci | function path=mfile_path(nam)
// Copyright INRIA
fil=nam+'.m';nf=length(fil)
path=[];
for k=1:size(mfiles,'*')
pk=mfiles(k);
kk=strindex(pk,'/');
if fil==part(pk,kk($)+1:length(pk)) then
path=pk;
break
end
end
|
1fbbb49200e5334a17f7e912ae4af41fdb58fe7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH3/EX3.10/Exa3_10.sce | d94d39ed42972b42cae36625d07f17da7288454a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | Exa3_10.sce | //Exa 3.10
clc;
clear;
close;
//Given Data :
format('v',4);
//Applying KCL we get I1+i1=I2+ix and I2+i2=I3+iy
//On solving we get : 1*2*E1=1*1*E2+0*1*E3 and 0*2*E1=-1*2*E2+1*3*E3
E1byE=1/(1+(154/155)+(166/155));//assumed
E2byE=(154/155)*E1byE;//assumed
E3byE=(166/155)*E1byE;//assumed
Eff=1/((3*(166/155)*E1b... |
36837c927e6f647570dc79b589299b87f8bced3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3841/CH7/EX7.7/Ex7_7.sce | 71e3a0d6fd6a664243503b398911465b7f533bc9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex7_7.sce | clear
//find the brake thermal efficency of an engine
//given
w=16.2
t=20.
p=126.
q=19300.
//during 20 minutes period of the test 126 bhp for a period 1/3 hour 126*(1/3.)
btu=42.*2544.
hi=16.2*19300.
bth=(btu/hi)*100.
printf("\n \n brake thermal efficency %.2f percent",bth)
|
e6e335eb2245b85e4af1cd7aa29650c90d4360dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH32/EX32.2/Ex32_2.sce | 57c1a1326b0001bb3a8d606395333ad2ac894f58 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 790 | sce | Ex32_2.sce | //Example 32.2
a1=2.014102;//Atomic mass of deuterium (u), See Appendix A
a2=3.016050;//Atomic mass of tritium (u), See Appendix A
a=a1+a2;//Total atomic mass per reaction (u)
m=a;//Mass per mole of reactants (g/mol)
mol_of_reactants=1000/m;//Mol of reactants in 1kg
N=mol_of_reactants*6.02*10^23;//Number of react... |
374b122b31e5a90d2ffada94ce90526a2ef2ad05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH2/EX2.18.29/2_18_29.sce | 98b8a90137336e16ea73446852fc7b5c27b663ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,156 | sce | 2_18_29.sce | //water and its treatment//
//example 2.18.29//
clc
Purity_Lime=0.85
Purity_soda=0.95
W1=3.5;//amount of CaCO3 in ppm//
W2=6.8;//amount of CaSO4 in ppm//
W3=8.4;//amount of MgCO3 in ppm//
W4=5.7;//amount of MgCl2 in ppm//
W5=6.0;//amount of MgSO4 in ppm//
W6=3.0;//amount of SiO2 in ppm//
W7=11.7;//amount... |
45903f723e1392cb72499203ace882d6d5b10bdd | 484e05962b62928b49ae2e8fd80d4c45031eb3dc | /px/px.tst | fb83751c27ed0dc489767ef8452e8d36d0fc1885 | [] | no_license | Royallle/hdl_cfx | adbb9dce7e3ae69507a4c1b26cddbd3b3a9eb0dc | 52cbe66f365516b659b65909e86aacb60da0342b | refs/heads/master | 2022-02-24T06:54:22.169423 | 2019-09-15T15:29:35 | 2019-09-15T15:29:35 | 110,464,895 | 0 | 0 | null | 2017-11-14T13:40:42 | 2017-11-12T20:05:58 | Scilab | UTF-8 | Scilab | false | false | 246 | tst | px.tst | // Chip teste para função px
load px.hdl,
output-file px.out,
compare-to px.cmp,
output-list in%B3.5.3 out%B3.1.3;
set in %B00000,
eval,
output;
set in %B00001,
eval,
output;
set in %B00010,
eval,
output;
set in %B00011,
eval,
output;
|
a561028669f8cd79457535fe2f593dbce72de2fc | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map1209.sce | ffc25ffdcf28b33053a14ab6b837eee7e8cc5452 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,583 | sce | map1209.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map1209" Width="13" Height="11" CellSize="40" BackgroundSize="1" Background="11plus.png">
<Cell Name="出生点" X="2" Y="1" />
<Cell Name="瘟疫花" X="4" Y="1" />
<Cell Name="蝙蝠-0(怪)" X="7" Y="1" arg0="8" />
<Cell Name="枯骨" X="11" Y="1" />
<Cell Name="墙1" X="2" Y=... |
760541b35440ba3ff32eba6ec789c469401a89ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH12/EX12.6w/12_6w.sce | 174195aa0e642083f1a54298438c79105bfc0035 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 805 | sce | 12_6w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 12.6w
//calculation of the maximum speed of the block and the speed when the spring is stretched
//given data
nu=10//frequency(in s^-1) of oscillation
l=.20*10^-2//stretch(in m) of the spring
g=%pi^2//gravitational ... |
729b67349205d777c5ace9e422ce983726cb50f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH10/EX10.3/Ex10_3.sce | 8ec926a0a3eaf1670efca09b51829fd42deb76b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,055 | sce | Ex10_3.sce | clear all; clc;
disp("Scilab Code Ex 10.3 : ")
//Given:
ep_x = -350;//(*10^-6) Normal Strain
ep_y = 200; //*(10^-6) Normal Strain
gamma_xy = 80; //*(10^-6) Shear Strain
//Orientation of the element:
tan_thetap = -(ep_x - ep_y)/(gamma_xy);
thetap1 = (0.5)*(atan(tan_thetap));
//Maximum in-plane shear str... |
49ed90b33c4876d9067f147b37c9dc00aa5b95b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1895/CH5/EX5.47/EXAMPLE5_47.SCE | 7b6b1e9b9a6382a3b6549f131dbff636c33acfa0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 854 | sce | EXAMPLE5_47.SCE | //ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 5
//ANGLE MODULATION
clear all;
clc;
printf("EXAMPLE 5.47(PAGENO 264)");
//given
f_m = 2*10^3//modulating frequency for first case
delta_f1 = 5*10^3//frequency deviation for first case
f_m1 = 1*10^3//modulating frequency for second case
//... |
0aa7fd5d21c8899702f61cbc29fbce3e13ed59dd | abed134eb329d44a339af93997f34c76b7649173 | /p5codes_10252020/Memory.tst | b63c9e9f690a6c8818059560e31f35ed500aa338 | [] | no_license | Patrickyyh/CSCE-312 | 8823df9f53d378b96c8018064da3823faef95ce3 | b9ba0fd8592ce5d91d1689219ff48d638a66aee0 | refs/heads/master | 2023-05-03T18:46:15.689810 | 2021-05-22T06:02:17 | 2021-05-22T06:02:17 | 369,727,875 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 633 | tst | Memory.tst | load Memory.hdl,
output-file Memory.out,
compare-to Memory.cmp,
output-list in%D1.6.1 load%B2.1.2 address%B1.16.1 out%D1.16.1;
echo "Before you run this script, select the 'Screen' option from the 'View' menu";
set in -1, // Set RAM[0] = -1
set load 1,
set address 0,
tick,
output;
tock,
output;
set in 9999, /... |
3428548b44893fd12dfc451a4b69fee38bd370c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /557/CH13/EX13.1/1.sce | 6ef356b115fd4165502713c500f5e6d7b138e428 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 472 | sce | 1.sce | clc; funcprot(0); //Example 13.1
//Initializing the variables
rho0 = 1.8;
R = 287;
T = 75+273; // Temperature in kelvin
gma = 1.4;
Ma = 0.7;
//Calculations
P0 = rho0*R*T;
c = sqrt(gma*R*T);
V0 = Ma*c;
Pt = (P0^((gma-1)/gma) + rho0*((gma-1)/gma)*(V0^2/(2*P0^(1/gma))))^(gma/(gma-1));
rhoT = rho0*(Pt/P0... |
2e0a587763c6d73469233dee082ab6ba20f8feba | 46e52b7010c1dc6beb86c615f0d59494c00e6554 | /tp3/src/tests/test9.tst | 7dda340f6d8f9a0fc7717f726dfe9bcacdac7d3c | [] | no_license | impronunciable/so2015 | 22bd1cf0831c29d091a3f94bc36342ebb51b7aed | 8bdabf28dc17ca4c92a264036c0fbe9c31430de3 | refs/heads/master | 2020-04-14T12:25:47.123488 | 2015-11-10T22:00:51 | 2015-11-10T22:00:51 | 41,392,542 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,845 | tst | test9.tst | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
cccccccccccccccccccccccccccccccccccccccc
dddddddddddddddddddddddddddddddddddddddd
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
ffffffffffffffffffffffffffffffffffffffff
ggggggggggggggggggggggggggggggggg... |
24bf5e8c367fc12c1273c21bfa68a6f09778bdff | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH5/EX5.4/5_4.sce | 7aa89294814efa928779415dab4852916cc369ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | 5_4.sce | //Value of P
//Refer fig.5.8
//consider equilibrium
mu=0.2
//750N block
N1=750*cosd(60) //N
F1=mu*N1 //N
T=F1+750*sind(60) //N
//500N block
//N2=500-0.5P
//Law of friction
//F2=0.2*N2
P=(724.52+100)/(cosd(30)+0.1) //N
printf("\nP=%0.2f N",P)
|
16ac5cfc6fa10b2f6a71a95cbca31eda7f75a403 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH12/EX12.10/Ex12_10.sce | 4396af82bfb907c3f8d5f1fbb81ca79775789bb8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,170 | sce | Ex12_10.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex12_10.sce
clc;
clear;
Z_R=complex(8,6);
Z_Y=complex(8,-6);
Z_B=complex(5,0);
Z_N=complex(0.5,1);
Y_R=1/Z_R;
Y_Y=1/Z_Y;
Y_B=1/Z_B;
Y_N=1/Z_N;
E_R=220;
E_Y=22... |
12a745f32050ece600e54318a97f731418cd5b3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3860/CH1/EX1.8/Ex1_8.sce | 77e476d08c953ce3ff2bbbf9bc35539c924b0567 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | Ex1_8.sce | //Example 1.8 Conversion from decimal number to binary number.
clc;
x = dec2bin(105); // binary equivalent of decimal number
disp('The binary number is = ');
disp(x) // answer in binary form
|
ceeb9b4d48b68c92e7bd9b0ba2fbb737b246ae89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH2/EX2.15/ex2_15.sce | fb7cd6b5ad4b89c182a96e42db5ba2bec13d8423 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 859 | sce | ex2_15.sce | // Exa 2.15
format('v',6);clc;clear;close;
// Given data
V = 80;// in V
I = 15;// in mA
I = I * 10^-3;// in A
R_T = V/I;// in ohm
R_T = R_T * 10^-3;//apparent resistance in k ohm
Rapp = R_T;// in k ohm
disp(Rapp,"The apparent resistance in kΩ is");
sensitivity = 1.5;// in k ohm
f_s_reading = 150;//full scale... |
5475a75a792ed906b4c8ba8db3262c5294ca61db | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH10/EX10.16/example10_16.sce | 8c7c3a27e932533b7715a1f4c1e9b45947b6bacd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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_16.sce | clc
// Given that
n = 20000 // flux lines entering in given volume in Vm
n_ = 45000 // flux lines entering out from given volume in Vm
e0 = 8.85e-12 // permittivity of space
// Sample Problem 16 on page no. 10.42
printf("\n # PROBLEM 16 # \n")
fi = n_ - n
q = e0 * fi
printf("Standard formula used \n fi= q/e_. \n")
pri... |
146ba358a9aecae931d9845d08e71fe231f219bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH4/EX4.30/Ch04Ex30.sce | 2c1c89a3bf5d28415790828c6e4f22ff64edfbaa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 484 | sce | Ch04Ex30.sce | // Scilab code Ex4.30 : Pg:180 (2008)
clc;clear;
Lambda = 6000e-08; // Wavelength of light, cm
d = 0.005; // Diameter of wire, mm
x = 15; // Distance between the glass plates, cm
theta = d/x; // Angle of the wedge, degree
omega = Lambda/(2*theta); // Fringe width in air wedge for normal incidence, ... |
6c845e67e5b7f9bd9a048973dfccfbb1fd7478ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH9/EX9.18/Example9_18.sce | 33ad397a8c3a4c4283c3a68db0aee2c9b7e89478 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | Example9_18.sce | //Drain supply Vdd, Drain resistance Rd, source resistance Rs, Gate resistance Rg
close();
clear;
clc;
Idss = 8/1000;//A
Vpo = 4;//V
Vdd = 15;//V
Rd = 5000;//ohm
Rs = 2000;
Rg = 10^6;
Idq1 = 1.22*10^(-3);//A
Vdsq1 = 0;
Vgsq1 = -Idq1*Rs;
Vgsq2 = Vgsq1;
Vdsq2 = Vdd - Vdsq1- Idq1*(Rs+Rd);
mprintf('Vgsq1 = %... |
1de6581db166e0173002672028e681f0635cd2c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH10/EX10.9/Exa10_9.sce | 6ec4cff16dd88dd3a0a070f0e225d45462cefa40 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa10_9.sce | //Exa 10.9
clc;
clear;
close;
//given data :
R=6370;//in Km
hm=400;//in Km
//Formula : d=2*R*Q=2*R*acos(R/(R+hm))
d=2*R*acos(R/(R+hm));//in Km
disp(d,"Maximum Range in a single range transmission in Km : "); |
25fe3a263c2b31583b9e10e123923836e62912c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH10/EX10.11/EX10_11.sce | ff1d72fb39606accea5fc4ee245053bb394e6740 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,317 | sce | EX10_11.sce | // Example 10.11
// Determine (a) Electrical losses (b) Rotational losses (c) Efficiency
// Page No. 430
clc;
clear;
close;
// Given data
T=124; // Hp rating of motor
Rf=32.0; // Field resistance
VT=240; // Rated voltade of the machine
IT=420; ... |
8e26178031d803a2c176176a67ae171d570cdd16 | 244971ae8af51184d278cdc2be1c80775413adae | /SSSoAttenuator.sci | 17e24d6e4259bd40b9fa1cf62adb3535e8e11fee | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | sci | SSSoAttenuator.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function Out=SSSoAttenuator(In,Attenuation_dB)
// Attenuator
//
// Calling Sequence
// Out=SSSoAttenuator(In,Attenuation_dB)
//
// Parameters
// In : Optical Input
// Attenuation_dB : Requi... |
f80ded0e14fe18ddbb4512822d6344aaf9d1df91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH1/EX1.8/Ex1_8.sce | 6d014c80815e55c62b1177b8f2b73a2a810aa4b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 332 | sce | Ex1_8.sce | //Chapter 1,Example 1.8,Pg 1.12
clc;
disp("We know that R1 = R0(1+a0t)")
disp("At t1=20 degree C, R1=45 ohms")
R0=45/(1+0.004*20)
disp("At t2, R2=48.5 ohms")
disp("Therefore, we can calculate t2 as follows")
disp("45/48.5 = (1+0.004*20)/(1+0.004t2)")
t2=(48.5-R0)/(0.004*R0)
printf("\n Therefore t2= %.0f degree... |
116d719f3182b3f8e904bba05f542806a930d89f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/scicos_blocks/GENERAL_f.sci | 16a0bd2c24983cd74c35e504213db3fe1d4a6972 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,450 | sci | GENERAL_f.sci | function [x,y,typ]=GENERAL_f(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=arg1;
graphics=arg1(... |
1c19ee1e17ef9de4ba334fb145b5f018045d0863 | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/num-val/0049.tst | 927eff1553363a535d15a49e2397f95437c7771f | [
"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 | 18 | tst | 0049.tst | %Xb.A.bB.AC.1.dd.E |
33954c51ee27a7e9c431f34256f477c4ccf1b9be | 6a33d438f31db2317186f313f957132d973fadcd | /meg_prosody_oneline.sce | 2a6fb2842640a8a57796df1a167ba37b38e2a5ed | [] | no_license | ctmdev/presentationMegProsody | 9d7c0eab771e5a6331407304a3d1463bfad500b0 | f778555317c35fbf77a183e34c755351375ac77b | refs/heads/master | 2021-01-01T16:55:46.429810 | 2013-01-18T12:32:00 | 2013-01-18T12:32:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,268 | sce | meg_prosody_oneline.sce | write_codes = false;
pulse_width = 2;
#no_logfile = false;
#active_buttons = 1;
#button_codes = 3;
#target_button_codes = 3;
randomize_trials = false;
default_attenuation = 0.2;
default_pan = 0.0;
begin;
array {
sound { wavefile { filename = "audio\\1_ang_ss_trimF.wav"; } s1_ang_ss_trimF;};
sound { wavefile { fil... |
3aa6b5cb22f92a3b6afc296ddb789f740b53169b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH1/EX1.25/Ex1_25.sce | 034d727ad4b0e83d89541c01148f5a9d9d2c891d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 748 | sce | Ex1_25.sce | clc,clear
//Example 1.25
//To find sin_theta and tan_theta when cos_theta is given
cos_theta = -4/5;
adjacent =4 ; hypotenuse =5 ;
opposite = sqrt(hypotenuse ^2 - adjacent ^2) //by pythagoras theorem
//minus sign of cos_theta implies 2nd or 3rd quadrant
//Possibility 1 : 2nd quadrant
x= -adjacent ;
y= op... |
615ad60c59c1c3d9474cbe3c18f09d5ddfd7e03c | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH1/EX1.1/Example1_1.sce | df009e64b1d5a2fa769301451633af15b95f1789 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example1_1.sce | //chapter1,Example1_1,pg 481
Ir=10*10^-3//current drawn by resistor
Vr=100//voltage across resistor
Rv=40*10^3//voltmeter resistance
Ru=(Vr/Ir)*(1/(1-(Vr/(Ir*Rv))))//unknown resistance
printf("output resistance\n")
printf("\nRu=%.2f ohm",Ru) |
be7c07a273c1ee0e33ff8e112f4dc24437331936 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2891/CH2/EX2.16/Ex2_16.sce | 9829a9f3fe750a4b0d66f844b624591ae3327cc8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 603 | sce | Ex2_16.sce | // Exa 2.16
clc;
clear;
close;
// given :
H=2 // ampliutude of magnetic field in A/m
sigma=0 // conductivity
mu_0=4*%pi*10^-7 // permeability in free space in H/m
epsilon_0=8.854*10^-12 // permittivity in free space in F/m
mu=mu_0 // permeability in F/m
epsilon=4*epsilon_0 // permittivity in F/m
Eta_0=120*%p... |
f95b81ce56ab0a60245349f94ccac3916e48d366 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH4/EX4.30.1/Ex4_30.sce | 851fb9dca64bfc58992d5e7c72027b78f83f8352 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 869 | sce | Ex4_30.sce | clc
clear
//Combined seperating and throttling calorimeter
Mw=8; //in kg
M=63; //in kg
Ms=M-Mw; //in kg
P1=81.5; //Pressure after throttling in mm
P2=754; //Barometer reading in mm
SD=13.6; //Specific Density of... |
80f0071c06d10b1f26c34d938e8503a52f74e64e | 3210e96373d039f25952e04ff12570a96a9c5980 | /Trapezoidal-rule.sce | c68bc3b2998767200c88fa9c6e5e30ce8922e703 | [] | no_license | roscibely/numerical-integration | 342a083138e8a0215f514dd5e06640af1b16fe28 | 7daf056119a51f253a4be2b250915f79fd256ce9 | refs/heads/master | 2020-12-14T11:21:19.899255 | 2020-04-28T00:58:26 | 2020-04-28T00:58:26 | 234,725,644 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 245 | sce | Trapezoidal-rule.sce | clear, clc
function F = f(x)
F= (2*exp(x^2)*x + 1)^(-1/2);
disp(F);
endfunction
a=0;
b=1;
n=2;
h = (b-a)/n;
x=a:h:b;
soma=0;
for i=2:n
soma = soma + 2*f(x(i))
end
intt = (h/2)*(f(x(1)) + soma + f(x($)));
disp(intt);
|
968fe47cc374cfa5e3dfa81a69233bb869ed1249 | fdc5047b7bf8122bad1e621df236b0481226c36e | /exemplos/xls-link-0.5.0-src/macros/xls_SetFont.sci | 3ce4372097e1c86d773e99d46520e040066e2570 | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,688 | sci | xls_SetFont.sci | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2013 - Scilab Enterprises - Antoine ELIAS
//
// 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... |
407064c3c48182dd47bc39b255967e50b2e6fc34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH1/EX1.19/chapter1_19.sce | f934e2f06ed2f629e9f6062ebd7322c4c2120653 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 849 | sce | chapter1_19.sce | //example1.19
clc
disp("Using the loop analysis, (fig 1.88(a) see on next page)")
disp("Applying KVL to the three loops,")
disp("-(I1)-(I1)-2(I1)+2(I3)+5-2(I1)=0 i.e -6(I1)+2(I3)= -5 ...(1)")
disp("-2(I3)+2(I1)-2(I3)-5-2(I3)-(I3)+I2=0 i.e 2(I1)+I2-7(I3)=5 ...(2)")
disp("-2(I2)-(I2)+(I3)-2(I2)+5=0 i.e ... |
422d3fa9c742d224120cf6258097ed8376de76de | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.41/18_41.sce | b259f0f25b7e3a25174c1a6f5fc1bafb724e4905 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sce | 18_41.sce | //ques-18.41
//Calculating final temperature and w and q and change in internal energy for the process
clc
V1=6; V2=2;//volume (in L)
T1=273+27;//temperature (in K)
Cv=20.91;//(in J/K/mol)
q=1.4;
T2=T1*((V1/V2)^(q-1));
U=Cv*(T2-T1);
w=-U;
q=0;//adiabatic process
printf("Final temperature is %.0f K, w=%.4f kJ... |
60f81ff17e8a4a72fd2382b77d0266a072e0d7bf | 9835e6a99ef801fdd06a9193c1846cae987d740a | /Fonctions/coord_Value.sci | 9370e71147b241bf667421350bdf0f7a46a351ed | [] | no_license | Martinhubz/Exo-Life | c2356d064d2f4727b7a42b104aaca340c0e65a64 | dcea54e689b2d7bb3b454648d7cb6fb5a57f115f | refs/heads/master | 2021-04-30T08:52:50.851933 | 2018-02-13T16:19:34 | 2018-02-13T16:19:34 | 121,385,860 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,037 | sci | coord_Value.sci | // use :
// image = coordOfValue(img, value)
//
// image = coordUnderValue(img, value)
// image = coordUnderValue(img, max(img))
//
// image = coordUpperValue(img, value)
// image = coordUpperValue(img, min(img))
function coord=coordOfValue(imgsrc,value)
pos = 1
[width,height]=size(imgsrc)
for i=1:heigh... |
ac94a814b71426683424b10b9c5f16186b1cf71a | 449d555969bfd7befe906877abab098c6e63a0e8 | /980/CH11/EX11.11/11_11.sce | 1a015f25dfef17cd0e1d758e5e80c108d42bfe6b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 503 | sce | 11_11.sce | clc;
clear;
format('e',11);
f=10*10^9;
epsilone_r=2;
epsilone_0=8.85*10^-12;
epsilone=epsilone_r*epsilone_0;
loss_tangent=0.05;
epsilone_c=epsilone*(1-%i*loss_tangent);
w=2*%pi*f;
B_0=w*sqrt((4*%pi*10^-7)*epsilone);
B=B_0*(1+(loss_tangent^2)/8);
alpha=B_0/2*loss_tangent;
delta=1/alpha; //skin dept... |
b85d37e6d722cf2e655c0573ce044da035752465 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1026/CH2/EX2.3/Example2_3.sce | b6cee3b97c510d843c45ce370e256c1394ab3198 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sce | Example2_3.sce | //chapter-2,Example2_3,pg 54
//P=(dE/dt)Fe=a+b*t=1734-4.87*t
//P=(dE/dt)Cu=a+b*t=136+0.95*t
aFe_Pb=1734*10^-6
aFe_Cu=(1734-136)*10^-6
aCu_Pb=136*10^-6
bFe_Pb=-4.87*10^-6
bFe_Cu=(-4.87-0.95)*10^-6
bCu_Pb=0.95*10^-6
a=aFe_Cu
b=bFe_Cu
t=100
EFe_Cu=(a*t)+0.5*(b*(t^2))
printf("e.m.f of... |
20de2759a2de00c82e0406048d68b8830b162ae1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH5/EX5.16/example5_16_TACC.sce | 729b242ed5fead7fb1571ef0ccb00257346315f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | example5_16_TACC.sce | //example 5.16
clear;
clc;
disp("C8H18(g)+12.5O2(g)-->8CO2(g)+9H2O(l)");
//Given:
T=298;//temperature[K]
S=421.5;//change in entropy[J/K]
H=-5109000;//Heat of reaction[J]
R=8.314;//Universal gas constant[J/K/mol]
dn=8-(1+12.5);//change in no. of moles
//To find the helmholts free energy and Gibbs free... |
1d7af69ed2df27aa76adf9c5b07bf28b0cd68313 | c88f425345e1bef1a882d37f1759c2d438113204 | /2d_conflict-sphere.sci | ac70a6609192f6562206319f5c9a253c3971753e | [] | no_license | NnataKha/Fire-Water-Model | fb2550e59d41bac5f0bab70659f49e11694ec4d9 | ecfb61b9593583678991c22dac7da11857f4c4ae | refs/heads/master | 2020-03-16T18:42:15.863932 | 2018-05-10T10:47:21 | 2018-05-10T10:47:21 | 132,883,725 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,738 | sci | 2d_conflict-sphere.sci | clear;
n = 6; // # of cells in a row
m = 200; // # of steps
cp = 1;
cr = -1;
con_coef = 1;
pos_coef = 1;
x = linspace(0,9,n);// initial values
y = linspace(0,9,n);// initial values
if 1==2 then
for i=1:n
for j=1:n
p(i,j)=n-i//abs(cos(j));
r(i,j)=1//abs(sin(i)*cos(j));
end
end
end... |
9c06827b4a8fde7c76b5a41d30665d1a85010eee | 449d555969bfd7befe906877abab098c6e63a0e8 | /803/CH5/EX5.3/ex5_3.sce | 89f3b90f9aaea4330dd94ebc035f94efd2d3c872 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | ex5_3.sce | clc
Ltot=123.03;
Fn=3.16;..//noise factor
Gt=10;..//transmitter gain
Pt=1500;..//transmitter peak power
To=296.7;
R=10^5;
k=1.38*10^-23;..//boltzmann constant
sigma=1.5;
Ae=8;
Bn=10^3;..//bandwidth
pi=3.14;
F=1;
w=1.67;
angle=(4*%pi/Gt)*180/%pi;
Beamwidth=sqrt(angle);..//elevation beamwidth
SNR=log10(Pt... |
ac2798922c98ffdf53f0294930ef55a45b3ab53b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH4/EX4.1.c/Chapter4_Ex1_c.sce | 714a6cc013ba622c696675cde073aa1285740feb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,259 | sce | Chapter4_Ex1_c.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc., USA,pp 436
//Chapter-4 Ex4.1.c Pg No. 135
//Title: Effective Diffusivity of chlorine at 15 atm
//============================================================================================================
clear
clc
//INPUT
S_g=235;
V_g... |
39f14b46cbc02e2833150ec8a9e02fad07b7d8aa | ec32ca42a761a1bff5bf951ee44f864d175cfcfd | /Tests/testNot16.tst | 66232bf69a597be8731d26f7c6e6652b5bdfca07 | [] | no_license | jakoborel/nand2tetris-Project | 18256faeec02b6c2ab947c6dc24afddda2678d68 | 01ea2263da5d8ba2a6e81c07d9992b5a3cb79785 | refs/heads/master | 2021-05-21T04:27:59.487198 | 2020-04-04T23:24:59 | 2020-04-04T23:24:59 | 252,542,832 | 0 | 0 | null | 2020-04-04T01:38:00 | 2020-04-02T19:04:43 | Scilab | UTF-8 | Scilab | false | false | 249 | tst | testNot16.tst | load Not16.hdl,
output-file not16Output.out,
output-list in%B1.16.1 out%B4.16.3;
set in %B0000000000000000,
eval, output;
set in %B1111111111111111,
eval, output;
set in %B1111111111111111,
eval, output;
set in %B0000111111110000,
eval, output;
|
a2458d4942c88e0c8cc4e158562d7456eca6fd45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH13/EX13.11/Ex13_11.sce | d7e17d095fb46858bb590918746a659336140f29 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | Ex13_11.sce | //chapter13
//example13.11
//page284
R1=40 // kilo ohm
R2=10 // kilo ohm
Re=2 // kilo ohm
Vcc=10 // V
Vbe=0.7 // V
V2=Vcc*R2/(R1+R2) // voltage across R2
Ve=V2-Vbe // voltage across Re
Ie=Ve/Re
re_dash=25/Ie
printf("ac emitter resistance = %.3f ohm \n",re_dash)
|
04d8405b506911bedfe863f7784d897d5019ddae | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH7/EX7.11/Chap7_Ex11_R1.sce | a2fc816eeda538aa49038bd011d9c33898520abd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,786 | sce | Chap7_Ex11_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-7,Example 11,Page 259
//Title: The skating problem
//================================================================================================================
clear
clc
//INPUT
m=60;//mass of the pers... |
6adcaf884b1257106778ba499c095f63d9adcbd0 | 44f225adc0be4f9ecb45fb9fde03e74f23d7acb2 | /macros/more/integralImage.sci | 66f9f262002ce551c112fcfa0a4a40b3aadfac87 | [] | no_license | harpreetrathore/scilab-IPT | 10c4996614f1c59972e59decd1b7171e7d5816e0 | db79f1370f3cb0a7716a8afcf1cf5fde9fe70aba | refs/heads/master | 2021-01-01T04:06:52.573735 | 2016-05-26T20:34:33 | 2016-05-26T20:34:33 | 59,781,201 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sci | integralImage.sci | //Function migration (image list to matrix) for: integralImage
//Generated by migrate.cpp
//Author: Anirudh Katoch
function res = integralImage(varargin)
select length(varargin)
case 02 then
res = raw_integralImage(varargin(01), varargin(02))
case 01 then
res = raw_integralImage(varargin(01))
else
error... |
5bc1a134eb042456568bedab19e7d33d8bf5590e | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH7/EX7.3b/eg7_3b.sce | b15d33bce07ab5067311563799951bf9030e0c77 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | eg7_3b.sce | avg = 0;
var = 4;
num = 9;
X =[5 8.5 12 15 7 9 7.5 6.5 10.5];
samplemean= mean(X);
lowerlim = samplemean - (1.645*sqrt(var/num))
upperlim = samplemean + (1.645*sqrt(var/num))
disp(" to infinity", lowerlim,"The 95% upper confidence interval is " )
disp(upperlim,"The 95% upper confidence interval is minus infin... |
9cdc0e7716a0489bfdc1c462eec3f0c887d7296e | abed134eb329d44a339af93997f34c76b7649173 | /P4Codes/gcd.tst | 8c2c03bcbf97a8f21e0ec8c23f07c84862385ddc | [] | no_license | Patrickyyh/CSCE-312 | 8823df9f53d378b96c8018064da3823faef95ce3 | b9ba0fd8592ce5d91d1689219ff48d638a66aee0 | refs/heads/master | 2023-05-03T18:46:15.689810 | 2021-05-22T06:02:17 | 2021-05-22T06:02:17 | 369,727,875 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 686 | tst | gcd.tst | // Yuhao Ye
// 529006730
// Filename = gcd.tst
load gcd.hack,
output-file gcd.out,
compare-to gcd.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 400{
ticktock;
}
outp... |
54567990016a70b73a11f581a1879af2083fe365 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Physics/Optics/NewtonTelescope.SCI | ff70b4eaf7286b4771356e0c71424084444a074c | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 1,970 | sci | NewtonTelescope.SCI |
codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
codeblock readtextfile(ScriptDir+"\Physics\Optics\_Optics.sci");
rootframe=T_scene_create;
SetOpticFrame(rootframe);
sss=T_getscene;
vp=T_getviewport;
vp.CameraPos=point(0,0,10);
vp.CameraDir=vector(0,0,-1);
vp.FocalDistance=10;
vp.NearClipPlane=0.1;
vp.FarClipPlane=... |
4b29ae4d2d6039f354827a609a46e1175929bb82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH7/EX7.12/Example_7_12.sce | 1884c257b08a10d5ddd05d1d258abe99617fb4dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | Example_7_12.sce | //Caption: Confidence Interval Estimation (when Sample Size is Small)
//Example7.12
//Page216
clear;
clc;
X = 20;// mean diameter of the shafts in mm
Var = 9;// variance of the safts in mm
Std = sqrt(Var);//standard deviation
n = 16;// number of samples
alpha = 0.05;//confidence level
alpha = alpha/2;
talph... |
f4f5c11c69aad2ace455bcf33ce92f7cc093600a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH2/EX2.11/Ex2_11.sce | f86a808750e5b98fb16b4fd74afc6d7b3b3810a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_11.sce |
clear
//Given
q=16*10**-19
a=3.9*10**-12
E=10**5
//Calculation
p=q*a
U=-p*E
//Result
printf("\n (i) The electric dipole moment %e Cm", p)
printf("\n (ii) Potential energy of dipole in the stable equilibrium position %e J",U)
|
45c2d002d6e8ce33b4a1172864d0fd59947f7a46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH1/EX1.3/EX1_3.sce | 58646a9e77fae4afee09bf16f16bf0f35ef546e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | EX1_3.sce | //Chapter1,Example1.3,Pg1.10
printf("\n Diameter of wire=d\n")
printf("\n Length of wire=l\n")
printf("\n Resistance of wire = 4pl/A\n")
printf("\n For another wire diameter =2d\n")
printf("\n length =4l\n")
printf("\n Hence Resistance = 4pl/A")
printf("\n Hence Resistance = R\n")
|
a4a8112cdc5dde2d31817a87d3816f1f3b9b6ceb | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH14/EX14.2/Example14_2.sce | 2671c0498f62e6241642550308c6a967c3b39470 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | Example14_2.sce | //Example 14.2.
clc
format(6)
Af=100
dAf=0.02
dA=0.2
disp("We have, dAf/Af = dA/A * 1/(1+A*beta)")
disp(" dAf/Af = dA/A * 1/(1+A*beta)")
Ab=dA/dAf
disp(Ab,"Therefore, (1 + A*beta) =")
disp("Also, the gain with feedback is")
disp(" Af = A / (1+A*beta)")
A=Af*Ab
disp(A,"Therefore, A =")
... |
33558ebfdffbe32aa492148068be1f430a9a5d9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH7/EX7.6/Ex7_6.sce | db891753f256cedad29b6df778756fc4f3e83a5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 717 | sce | Ex7_6.sce | clear all; clc;
disp("Scilab Code Ex 7.6 : ")
//Given:
F = 40; //N
s = 9; //cm
h = 5; //cm
t = 0.5; //cm
w = 3; //cm
w_3 = w/3; //cm
//Calculations:
I = (w*h^3)/12 - (2*w_3*(h - 2*t)^3)/12;
//Case 1:
Q1 = ((h-t)/2)*(w*t);
V1 =((F/s)*I)/Q1 ; //q = VQ/I
//Case2:
Q2 = ((h-t)/2)*(w_3*t);
V2... |
3e4aedfe04f7fb0c25c2419aff70d900c1dc44bd | 45e046b9cab35a22858077ef405f8c8b8125a87f | /Assignment-1/Questn-5/add.sci | ebecfa297aebe3a4d0ae5bbcc2d0d68cbfb592ec | [] | no_license | shilpasunil/AP-laboratory | 4a67e510a05e5ce48f200ee73183627a12a19d55 | 87d55510d6f3c4a80ce1779e9b39430ee20e69b2 | refs/heads/main | 2023-02-09T16:13:34.048845 | 2021-01-07T04:43:35 | 2021-01-07T04:43:35 | 327,504,813 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 244 | sci | add.sci | function[cmpa]= add(A,B,C,n)
cmpa=0;
if n==1 then
C= A+B;
cmpa =1;
return;
end
for i=1:n
for j=1:n
C(i,j) = A(i,j) + B(i,j);
cmpa = cmpa+1;
end
end
endfunction
|
5fdb6dee946de033b202d016a01c2ec914e08e60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH14/EX14.7/Ex14_7.sce | 1da416b19e8ccccb0a09a688eae251ad4fb39b65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | Ex14_7.sce | //example 14.7 PG-14.38
clc
clear
printf(" Given=> A(A+B) = AA+AB .......Distributive property\n\n")
printf(" A(A+B) = A+AB ........Since A.A=A\n\n")
printf(" A(A+B) = A(1+B) .......Distributive property\n\n")
printf(" A(A+B) = A ........... Since A+1=1\n\n")
|
cab62f2dd946c78f1bbeb5a5f15bda92e5cb4820 | efb8160823b108f3329533a93e24647fb19a098c | /07v2/OverFlowTests/OverFlowTestsVME.tst | 7a7c5bae78fc6c29f34ec1aed8c9e15a8f3f85fe | [] | no_license | orensul/nand | 32bc46d7d50703127ca7ecdefc92abfe79ac601c | 6e654e64585c1cbc2f35bc6f0999702dc3a680b2 | refs/heads/master | 2021-09-27T05:40:09.610075 | 2018-11-06T11:48:57 | 2018-11-06T11:48:57 | 105,764,958 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 777 | tst | OverFlowTestsVME.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/07/MemoryAccess/PointerTest/PointerTestVME.tst
load,
output-file OverFlowTests.out,
compare-to OverFlowTests.cmp,
output-list RAM[3000]%D1.6.1 RAM[3001]%D1... |
0f20c779b5429d578e4fc344791f9f635d35e21c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH14/EX14.5/14_5.sce | bd7565f48a16962a12441f677b5253b567b215d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | 14_5.sce | clc
//Intitalisation of variables
clear
e= 0.761 //volt
e1= -0.34 //volt
k= 0.02958 //volt
//CALCULATIONS
r= 10^((e-e1)/k)
//RESULTS
printf ('K for the reaction = %.1e ',r)
|
55d22a64633a7e7e664580d6a5c793a246cf1e1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH5/EX5.20/5_20.sce | bb3cf538c4f2965dff7343bdbb3e36ac5ac79d72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,184 | sce | 5_20.sce | //Example 5.20
//Newtons Forward Difference Formula
//Page no. 144
clc;close;clear;
printf(' x\t sin x\t\t 1st\t\t 2nd\t\t 3rd\t\t 4th\t\t 5th\n\t\t\tdifference\tdifference\tdifference\tdifference\tdifference\t')
printf('\n---------------------------------------------------------------------------------... |
d74830426b4f32ba964f754d3de195b920b6d5e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH12/EX12.5.a/result12_5.sce | 3beaf3b816138bc3835017df2ed28b23d3a32916 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | result12_5.sce | //Example 12.5 from 'Brakes' cannot be coded because almost all the information is obtained from the figure.
//The entire solution is based on the free-body diagram and not on formulae. |
399d5d7b1b3d457ceb43c419bec74d1062e266b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2420/CH7/EX7.10/7_10.sce | f50ae4e375de90e972afea07931a9b04d273c3c8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 7_10.sce | clc
clear
//Initialization of variables
P=200 //psia
T=540 //F
pow=1000 //kw
ms=16000 //lb/hr
//calculations
disp("From mollier charts,")
h1=1290 //Btu/hr
h2=940 //Btu/hr
dh=h1-h2
hf2=83 //Btu/lb
etat=(h1-h2)/(h1-hf2)
act=pow*3413/(ms*(h1-hf2))
etae=act/etat
//results
printf("Ideal thermal efficiency =... |
1d4d6e217a6a9c6296101e33478c0ab07de0bb43 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH7/EX7.3/Ex7_3.sce | e38dbe7434f87a80f42eb80df1ad839a67dd97af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 892 | sce | Ex7_3.sce | //Example 7.3
F_app=120;//Applied force (N)
F_fr=5;//Opposing friction force(N)
d=0.800;//Distance traversed (m)
F_net=F_app-F_fr;//Net force (N)
W_net=F_net*d;//Net work (J)
printf('a.Net work done on the package = %0.1f J',W_net)
W_app=F_app*d*cosd(0);//Work done due to applied force in direction of displaceme... |
e96edf80f4b9ec6938f92da3b767fd1bc1428f24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH3/EX3.15/Ex3_15.sce | 17fc89a44a4cf481707e1236c0a161917128fe61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 873 | sce | Ex3_15.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 3 Example 15")
T1=400;//initial temperature of gas in K
R=8.314;//gas constant in
disp("for constant pressure heating,say state changes from 1 to 2")
disp("Wa=... |
33d80626785a467a60332c117d6a491ac889b4a0 | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/4/tests/test34.tst | a3044cd16ef9cd82524d530385a2828343116624 | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | tst | test34.tst | type newType = short;
void sym1(newType a) {
a = 1;
}
main()
{
var a : newType;
a = 1 + newType;
}
|
c18404295aa622a299e4d672eafea257f5ede1e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH10/EX1.6/Ex_B_1_6.sce | daa084f43b68773515d1c01b40f54cedf8664493 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex_B_1_6.sce | //Part B Ex 1.6
clc;clear;close;
format('v',5);
Av=10;//voltage gain
Ri=1;//kohm
Ro=10;//ohm
Vs=2;//V(Sensor voltage)
Rs=100;//ohm(Sensor resistance)
RL=50;//ohm
Vi=Vs*Ri*1000/(Rs+Ri*1000);//V
Vo=Av*Vi*RL/(Ro+RL);//V
Po=Vo^2/RL;//W
Pi=Vi^2/Ri;//mW
Ap=Po*1000/Pi;//Power gain
disp(Ap,"Power gain");
//Answe... |
0e5f1f989a23d65b204ffbda73f6a867f65f21a1 | 33f77c32fb16283501d950b6fc6b43a07914f32e | /scilab_autopilot/lib/math/vect/vect_norm.sce | 6588cea5c1cf6dbbd36b57fe8bcf03f1ad0b0a70 | [] | no_license | CLUBMODELISMECEADSTOULOUSE/autopilot | 26b79d6a2a632f08989a5528e82f553616617646 | a6ffae2f8a86fbc79e636ddd5173af104e1af9cd | refs/heads/master | 2021-01-21T00:59:06.271128 | 2015-10-25T09:31:54 | 2015-10-25T09:31:54 | 34,409,237 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 317 | sce | vect_norm.sce | // Norm2 of a vector
//
// Computed as the square root of the dot product.
//
// INTPUT
// - v: a vector
//
// OUTPUT
// - res: the norm2 of the vector
//
// USAGE
// res = vect_norm(v);
//
// HISTORY
// 28/03/2014: T. Pareaud - Creation
function [res] = vect_norm(v)
res = sqrt(vect_dotProd(v,v));
endfunction
|
70bd5fe4eb6cb3d2b3a86c9dcd231c427b1fee1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH2/EX2.10/Ex2_10.sce | df8697a8ea5c0e2f1e7ab70f2fa7646cb99df0ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | sce | Ex2_10.sce | clear;
clc;
Na=6.02*10^23 // Avagadro Number in mol^-1
AtWt=28.09 //in g/mole
Density=5*10^22 //in atoms/cm^-3
//Calculation
DensityPerUnitVolume=(Density*AtWt)/(Na)
mprintf("Density per unit volume= %1.2f g cm^-3",DensityPerUnitVolume)
|
a6fef9b348624bcb09aee68a474fc34c36a32336 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH4/EX4.11/Ex4_11.sce | 89819556c82f2fe9dc5d0926aa826af1ddc158a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 832 | sce | Ex4_11.sce | clear;
clc;
disp('Example 4.11');
// aim: To determine
// the change of internal energy
// Given values
m = 1.5;// mass of steam,[kg]
P1 = 1;// initial pressure, [MN/m^2]
t = 225;// temperature, [C]
P2 = .28;// final pressure, [MN/m^2]
x = .9;// dryness fraction of steam at P2
// solution
//... |
e88d7800b4bc17de45a0b2e8bd288de91ee1827f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH6/EX6.3/6_3.sce | 7416741879e6e57fe382e2e8d74af24a0705ddd2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | 6_3.sce | clc
//initialisation of variables
b= 10 //ft
n= 2
d= 3.5 //ft
i= 1/625
//CALCULATIONS
A= d*(b+(d/n))
L= sqrt(d^2+(d/2)^2)
P= b+2*L
m= A/P
v= 1.486*m^(2/3)*i^0.5/0.03
Q= A*v
//RESULTS
printf ('Discharge = %.1f cuses ',Q)
|
a6e2595047cba011f57e53acbbfcb4dfd5f7df7c | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%s_d_r.sci | f7167b827a252d076a8805b220abedbf0036da23 | [
"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 | 150 | sci | %s_d_r.sci | function f=%s_d_r(n1,f2)
// n1./f2
//!
// Copyright INRIA
if size(n1,'*')==0 then f=[],return,end
f=rlist(n1.*f2('den'),ones(n1).*f2('num'),f2('dt'))
|
da087bba56ec86bfe958de44566dd836f2a1f537 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH6/EX6.23/EX6_23.sce | 0274f119a9ce056a07c2034965e802bccfdd3187 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 651 | sce | EX6_23.sce | // Example6.23 // to determine the output voltage of an op-amp
clc;
clear;
close;
Vin = 5 ; // V
R1 = 25*10^3 ; // ohm
R2 = 75*10^3 ; // ohm
// in this problem op-amp A1 perform the voltage follower and op-amp A2 perform inverting amplifier and op-amp A3 perform non-inverting amplifier
// the output volta... |
fadbcaa0ec0a760e6a8946a56b473f8580e8eca2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH3/EX3.2/Example3_2.sce | bfb8a1d2cd36da33d87ea0b4fa29efc3c363d74a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example3_2.sce | //clear//
//Caption: To Calculate input and output power in dBm
//Example3.2
//page 91
clear;
close;
clc;
Pin = 200e-06; //power launched into the fiber
alpha = 0.4; //attenuation in dB per KM
z = 30; //optical fiber length 30 KM
Pin_dBm = 10*log10(Pin/1e-03);
Pout_dBm = 10*log10(Pin/1e-03)-alpha*z;
Pout =... |
1136823a6431d58e7db64b37a325deb056e03159 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH18/EX18.16/Ex18_16.sce | 6fed6737682440fd2bc6f0c260524ddf6b91a87b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | Ex18_16.sce |
clc;
//e.g 18.16
Vbe=0.7;
Vcc=10;
Rc=1*10**3;
beta=100;
R1=10*10**3;
R2=5*10**3;
Re=500;
Vb=Vcc*(R2/(R1+R2));
disp('V',Vb*1,"Vb=");
Ve=Vb-Vbe;
disp('V',Ve*1,"Ve=");
Ie=Ve/Re;
disp('mA',Ie*10**3,"Ie=");
Ic=Ie;
disp('mA',Ic*10**3,"Ic=");
Vce=Vcc-(Rc+Re);
disp('V',Ve*1,"Ve=");
|
5ba07b135fa10ca06666356a23a55a8f70d74d6c | f78a758dc17a311b355e12366d1315f7a9c2b763 | /Mercedes-Benz/MBN LV 124 2013/E-15 Reverse polarity 0.tst | 1280e4c3d7140999acb2bf78fadd476cd50dea60 | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,506 | tst | E-15 Reverse polarity 0.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AutoTestC version="2.0.0">
<Title>Test case 1 - polarity static - 60s</Title>
<Organization>Mercedes-Benz</Organization>
<Standard>MBN LV 124 2013</Standard>
<Item>6.15 E-15 Reverse polarity</Item>
<system>
<PowerSystem>3</PowerSystem>... |
2b1b8c5392a75ab10b503231634dcc7b8ecb5af6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH14/EX14.16/example14_16pp.sce | cd9e6750ec85bff3f562d014ddd2c2e04f52ed0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,325 | sce | example14_16pp.sce | clc
clear
disp('example 14.16')
vp=132;vs=33;vt=11 //voltage at primary ,secondary ,teritiory
pp=75;ps=50;pt=25 //MVA rating at prinary ,secondary,teritiory
rpr=0.12;rv=132;rp=75 //reactance power of primary under rv and rp as voltage and power base
poa=60;rea=50 //load real and reactive power a
pva=125;sva... |
9996efa4e2771bbb0ee9384b1a4e45f1bb88e767 | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH8/EX8.4/Example8_4.sce | 5bbd552a660de4e0f03f56de2650523855f61f13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 620 | sce | Example8_4.sce | clear;
clc;
//Caption : Parameters of a Common Emitter Amplifier
//Given Data
hie=1.1;//in K
hre=2.5*(10^-4);
hfe=50;
hoe=25*(10^-3);//in K^-1
r=200;//in K
Rs=10;//in K
Ri=1;//in K
Rl=10;//in K
rl=(r*Rs)/(r+Rs);//in K
Ai = -hfe/(1+(hoe*rl));//Current Gain
disp(Ai,'Ai = ');
Ri = hie + (hre*Ai*rl);... |
c1e1b089431d0552a54fdfdf79e1ff0b92ed9c70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH8/EX8.3.1/8_3_1.sce | 8fc768693bd8bc38ac2ab3712b16e8d1f9512c0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | 8_3_1.sce |
//chapter_no.-8, page_no.-334
//Example_no.8-3-1
clc;
J=20*(10^3);//current_density
q=1.6*(10^-19);
NA=2*(10^15);//Doping_Concentration
vs=J/(q*NA);
disp(vs,'avalanche-zone_velocity(in cm/s)is =');
disp('This means that the avalanch-zone velocity is much larger than the scattering-limited velocity'); |
ebada0485cb4486b25fcef8d085a5730b0d33af9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH17/EX17.9/Ch017Ex9.sce | 47c4de3701712302c0ff3e5d4e898451a12ee364 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 521 | sce | Ch017Ex9.sce | // Scilab code Ex17.9 : Pg:893 (2011)
clc;clear;
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
N_A = 6.023e+023; // Avogadro's number
E_f = 200*1e+06*e; // Energy released per fission, J
E_mol = E_f*N_A; // Energy released by one mole of U235, J
E = E_mol*1000/235; // Energy released by the fiss... |
293d5c270d1e0cadc19d35e52d9a31643448e4bb | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testexo5m.sce | f15856e445e89384242067648c1ae2db388cc5cd | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 73 | sce | testexo5m.sce | exec('scilab-base-calculs-testexo5l.sce',-1) //to delete
u13=[u11 u12]
|
9ff016d02edde470c5e2c20e25a49e7b91bab7ea | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map2207.sce | 84210402ec4d184681d449d64e9c041ee1d7ccdc | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 5,337 | sce | map2207.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map2207" Width="13" Height="15" CellSize="40" BackgroundSize="1" Background="15plus.png">
<Cell Name="箱子1" X="3" Y="1" />
<Cell Name="墓碑" X="4" Y="1" />
<Cell Name="箱子1" X="6" Y="1" />
<Cell Name="墓碑" X="8" Y="1" />
<Cell Name="箱子1" X="10" Y="1" />
<Cel... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.